W3cubDocs

/Symfony 4.1

Symfony\Component\Routing\Generator

Namespaces

Classes

UrlGenerator UrlGenerator can generate a URL or a path for any route in the RouteCollection based on the passed parameters.

Interfaces

ConfigurableRequirementsInterface ConfigurableRequirementsInterface must be implemented by URL generators that can be configured whether an exception should be generated when the parameters do not match the requirements. It is also possible to disable the requirements check for URL generation completely.
UrlGeneratorInterface UrlGeneratorInterface is the interface that all URL generator classes must implement.

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Routing/Generator.html