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


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 is the interface that all URL generator classes must implement.