src/Silvestra/Bundle/FrontendBundle/Controller/FrontendController.php
protected function generateUrl($name, $parameters = array(), $referenceType = RouterInterface::ABSOLUTE_PATH)
    {
        return $this->router->generate($name, $parameters, $referenceType);
    }
protected function generateUrl($name, $parameters = array(), $referenceType = RouterInterface::ABSOLUTE_PATH)
    {
        return $this->router->generate($name, $parameters, $referenceType);
    }
protected function generateUrl ( $ name , $ parameters = array ( ) , $ referenceType = RouterInterface :: ABSOLUTE_PATH ) { return $ this -> router -> generate ( $ name , $ parameters , $ referenceType ) ; }
Generate url.

@param string $name
@param array $parameters
@param bool $referenceType

@return string
Generate url .