interface UrlMatcherInterface implements RequestContextAwareInterface
UrlMatcherInterface is the interface that all URL matcher classes must implement.
| setContext(RequestContext $context) Sets the request context. | from RequestContextAwareInterface | |
| RequestContext | getContext() Gets the request context. | from RequestContextAwareInterface |
| array | match(string $pathinfo) Tries to match a URL path with a set of routes. |
Sets the request context.
| RequestContext | $context |
Gets the request context.
| RequestContext | The context |
Tries to match a URL path with a set of routes.
If the matcher can not find information, it must throw one of the exceptions documented below.
| string | $pathinfo | The path info to be parsed (raw format, i.e. not urldecoded) |
| array | An array of parameters |
| NoConfigurationException | If no routing configuration could be found |
| ResourceNotFoundException | If the resource could not be found |
| MethodNotAllowedException | If the resource was found but the request method is not allowed |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Routing/Matcher/UrlMatcherInterface.html