src/Matcher/MapLoader.php
public function load(CachedCollectionInterface $routes)
    {
        if (!is_file($file = $this->getFilePath($routes)) || filemtime($file) < $routes->getTimestamp()) {
            $this->dumpMap($routes, $file);
        }

        return $this->loadMap($file);
    }
public function load(CachedCollectionInterface $routes)
    {
        if (!is_file($file = $this->getFilePath($routes)) || filemtime($file) < $routes->getTimestamp()) {
            $this->dumpMap($routes, $file);
        }

        return $this->loadMap($file);
    }
public function load ( CachedCollectionInterface $ routes ) { if ( ! is_file ( $ file = $ this -> getFilePath ( $ routes ) ) || filemtime ( $ file ) < $ routes -> getTimestamp ( ) ) { $ this -> dumpMap ( $ routes , $ file ) ; } return $ this -> loadMap ( $ file ) ; }
Get the statuc route map.

@param CachedCollectionInterface $routes.

@return array
Get the statuc route map .