private function addRoutes(Map $map)
    {
        $data = $this->getParsedData();
        $routes = (array_key_exists('routes', $data))
            ? $data['routes']
            : [];
        foreach ($routes as $name => $definition) {
            $this->routeFactory->parse($name, $definition, $map);
        }
    }
private function addRoutes(Map $map)
    {
        $data = $this->getParsedData();
        $routes = (array_key_exists('routes', $data))
            ? $data['routes']
            : [];
        foreach ($routes as $name => $definition) {
            $this->routeFactory->parse($name, $definition, $map);
        }
    }
private function addRoutes ( Map $ map ) { $ data = $ this -> getParsedData ( ) ; $ routes = ( array_key_exists ( 'routes' , $ data ) ) ? $ data [ 'routes' ] : [ ] ; foreach ( $ routes as $ name => $ definition ) { $ this -> routeFactory -> parse ( $ name , $ definition , $ map ) ; } }
Add routes to the provided route map

@param Map $map
Add routes to the provided route map