public function refreshActionLookups()
    {
        $this->actionList = [];

        foreach ($this->allRoutes as $route) {
            if (isset($route->getAction()['controller'])) {
                $this->addToActionList($route->getAction(), $route);
            }
        }
    }
public function refreshActionLookups()
    {
        $this->actionList = [];

        foreach ($this->allRoutes as $route) {
            if (isset($route->getAction()['controller'])) {
                $this->addToActionList($route->getAction(), $route);
            }
        }
    }
public function refreshActionLookups ( ) { $ this -> actionList = [ ] ; foreach ( $ this -> allRoutes as $ route ) { if ( isset ( $ route -> getAction ( ) [ 'controller' ] ) ) { $ this -> addToActionList ( $ route -> getAction ( ) , $ route ) ; } } }
Refresh the action look-up table.

This is done in case any actions are overwritten with new controllers.

@return void
Refresh the action look - up table .