interface UrlMatcherInterface implements RequestContextAwareInterface
UrlMatcherInterface is the interface that all URL matcher classes must implement.
Methods
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. |
Details
setContext(RequestContext $context)
Sets the request context.
RequestContext getContext()
Gets the request context.
array match(string $pathinfo)
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.
Please login to continue.