public function generateRoutes($name, array $localesWithPaths, Route $baseRoute)
    {
        $this->assertLocalesAreSupported(array_keys($localesWithPaths));
        return $this->routeGenerator->generateRoutes($name, $localesWithPaths, $baseRoute);
    }