Details

    • Specification change (Sub-task)
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 5.0 (plan)
    • None
    • Frontend (F)
    • Team B
    • Sprint 57 (Oct 2019), Sprint 58 (Nov 2019), Sprint 59 (Dec 2019), Sprint 60 (Jan 2020), Sprint 61 (Feb 2020), Sprint 62 (Mar 2020), Sprint 63 (Apr 2020), Sprint 64 (May 2020)
    • 0.125

    Description

      Add new public method addActions to the CRouter class:

      public function addActions(array $actions) { ... }
      

      Since the route calculation should not be executed before the new routes were added:

      1. The constructor should not take any parameters anymore (remove $action parameter).
      2. The calculateRoute() method should now be called externally, it should accept the $action parameter.
      3. Rename calculateRoute() to setAction(), since it will really set action (the method is not currently used outside the class).

      Attachments

        Activity

          People

            averza Andrejs Verza
            averza Andrejs Verza
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: