Http/RouterStore.php
public function makeBinding()
    {
        $this->sortByConditionPriority();

        foreach ($this->routes as $route) {
            /** @var RouteConditionInterface $condition */
            $condition = $route['condition'];

            /** @var Action $action */
            $action = $route['action'];

            $condition->bindWithAction($action);
        }
    }
public function makeBinding()
    {
        $this->sortByConditionPriority();

        foreach ($this->routes as $route) {
            /** @var RouteConditionInterface $condition */
            $condition = $route['condition'];

            /** @var Action $action */
            $action = $route['action'];

            $condition->bindWithAction($action);
        }
    }
public function makeBinding ( ) { $ this -> sortByConditionPriority ( ) ; foreach ( $ this -> routes as $ route ) { /** @var RouteConditionInterface $condition */ $ condition = $ route [ 'condition' ] ; /** @var Action $action */ $ action = $ route [ 'action' ] ; $ condition -> bindWithAction ( $ action ) ; } }
Bind all routes' condition-action couples
Bind all routes condition - action couples