src/Framework/Routing/RouteGenerator/StrictLocaleRouteGenerator.php
public function generateRoutes($name, array $localesWithPaths, Route $baseRoute)
    {
        $this->assertLocalesAreSupported(array_keys($localesWithPaths));
        return $this->routeGenerator->generateRoutes($name, $localesWithPaths, $baseRoute);
    }
public function generateRoutes($name, array $localesWithPaths, Route $baseRoute)
    {
        $this->assertLocalesAreSupported(array_keys($localesWithPaths));
        return $this->routeGenerator->generateRoutes($name, $localesWithPaths, $baseRoute);
    }
public function generateRoutes ( $ name , array $ localesWithPaths , Route $ baseRoute ) { $ this -> assertLocalesAreSupported ( array_keys ( $ localesWithPaths ) ) ; return $ this -> routeGenerator -> generateRoutes ( $ name , $ localesWithPaths , $ baseRoute ) ; }
Generate localized versions of the given route.

@param $name
@param array $localesWithPaths
@param Route $baseRoute
@return RouteCollection
Generate localized versions of the given route .