Class UrlGenerator
URL generator.
public
|
#
__construct(
|
public
|
|
public
|
#
setValidateParams( boolean $validateParams )
Set whether the regex pattern of route parameters should be validated on runtime. |
public
string
|
#
getRouteUrl( string $name, array $params = array(), boolean $relative = false )
Get the URL to a named route. |
public
string
|
|
public
string
|
protected
|
$router
|
|
protected
|
$routePathGenerator
|
|
protected
Symfony\Component\HttpFoundation\RequestStack
|
$requests
|
|
protected
null|string
|
$assetRoot
The root URL to use for assets, if any. |