final protected function generateUrl(string $name, array $params = []) : string
    {
        return $this->urlGenerator
            ->generate($name, $params);
    }
final protected function generateUrl(string $name, array $params = []) : string
    {
        return $this->urlGenerator
            ->generate($name, $params);
    }
final protected function generateUrl ( string $ name , array $ params = [ ] ) : string { return $ this -> urlGenerator -> generate ( $ name , $ params ) ; }
Generate a URL by the given name and params

@param string $name
@param array  $params

@return string
Generate a URL by the given name and params