public function url($route, $parameters = array())
    {
        return $this->urlGenerator->generate($route, $parameters, UrlGeneratorInterface::ABSOLUTE_URL);
    }
public function url($route, $parameters = array())
    {
        return $this->urlGenerator->generate($route, $parameters, UrlGeneratorInterface::ABSOLUTE_URL);
    }
public function url ( $ route , $ parameters = array ( ) ) { return $ this -> urlGenerator -> generate ( $ route , $ parameters , UrlGeneratorInterface :: ABSOLUTE_URL ) ; }
Generate an absolute URL from the given parameters

@param string $route      The name of the route
@param mixed  $parameters An array of parameters

@return string The generated URL
Generate an absolute URL from the given parameters