interface RequestMatcherInterface
RequestMatcherInterface is the interface that all request matcher classes must implement.
array | matchRequest(Request $request) Tries to match a request with a set of routes. |
Tries to match a request with a set of routes.
If the matcher can not find information, it must throw one of the exceptions documented below.
Request | $request |
array | An array of parameters |
NoConfigurationException | If no routing configuration could be found |
ResourceNotFoundException | If no matching resource could be found |
MethodNotAllowedException | If a matching 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/RequestMatcherInterface.html