TraceableUrlMatcher
class TraceableUrlMatcher extends UrlMatcher
TraceableUrlMatcher helps debug path info matching by tracing the match.
Constants
REQUIREMENT_MATCH |
|
REQUIREMENT_MISMATCH |
|
ROUTE_MATCH |
|
ROUTE_DOES_NOT_MATCH |
|
ROUTE_ALMOST_MATCHES |
|
ROUTE_MATCHES |
|
Methods
from UrlMatcher
getTraces($pathinfo)
No description
Details
in UrlMatcher at line line 63
__construct(RouteCollection $routes, RequestContext $context)
Constructor.
in UrlMatcher at line line 72
setContext(RequestContext $context)
Sets the request context.
in UrlMatcher at line line 80
RequestContext
getContext()
Gets the request context.
in UrlMatcher at line line 88
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.
in UrlMatcher at line line 104
array
matchRequest(Request $request)
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.