UrlMatcherInterface
interface UrlMatcherInterface implements RequestContextAwareInterface
UrlMatcherInterface is the interface that all URL matcher classes must implement.
Methods
array
match(string $pathinfo)
Tries to match a URL path with a set of routes.
Details
in RequestContextAwareInterface at line line 21
setContext(RequestContext $context)
Sets the request context.
in RequestContextAwareInterface at line line 28
RequestContext
getContext()
Gets the request context.
at line line 38
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.