abstract class RedirectableUrlMatcher extends UrlMatcher implements RedirectableUrlMatcherInterface
Constants
| REQUIREMENT_MATCH |
|
| REQUIREMENT_MISMATCH |
|
| ROUTE_MATCH |
|
Methods
|
__construct(RouteCollection $routes, RequestContext $context)
Constructor. |
from UrlMatcher | |
|
setContext(RequestContext $context)
Sets the request context. |
from UrlMatcher | |
| RequestContext |
getContext()
Gets the request context. |
from UrlMatcher |
| array |
match(string $pathinfo)
Tries to match a URL path with a set of routes. |
Details
in UrlMatcher at line 46
public
__construct(RouteCollection $routes, RequestContext $context)
Constructor.
in UrlMatcher at line 55
public
setContext(RequestContext $context)
Sets the request context.
in UrlMatcher at line 63
public RequestContext
getContext()
Gets the request context.
at line 27
public 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.