protected function generateRoute(Language $language, Page $page)
    {
        return sprintf('_%s_%s', $language->getLanguageName(), str_replace("-", "_", $page->getPageName()));
    }
protected function generateRoute(Language $language, Page $page)
    {
        return sprintf('_%s_%s', $language->getLanguageName(), str_replace("-", "_", $page->getPageName()));
    }
protected function generateRoute ( Language $ language , Page $ page ) { return sprintf ( '_%s_%s' , $ language -> getLanguageName ( ) , str_replace ( "-" , "_" , $ page -> getPageName ( ) ) ) ; }
Generates an internal route name, from the language and the page

@param  Language $language
@param  Page     $page
@return string
Generates an internal route name from the language and the page