public function refreshNameLookups()
    {
        $this->nameList = [];

        foreach ($this->allRoutes as $route) {
            if ($route->getName()) {
                $this->nameList[$route->getName()] = $route;
            }
        }
    }
public function refreshNameLookups()
    {
        $this->nameList = [];

        foreach ($this->allRoutes as $route) {
            if ($route->getName()) {
                $this->nameList[$route->getName()] = $route;
            }
        }
    }
public function refreshNameLookups ( ) { $ this -> nameList = [ ] ; foreach ( $ this -> allRoutes as $ route ) { if ( $ route -> getName ( ) ) { $ this -> nameList [ $ route -> getName ( ) ] = $ route ; } } }
Refresh the name look-up table.

This is done in case any names are fluently defined or if routes are overwritten.

@return void
Refresh the name look - up table .