final class RouteContext implements CacheAwareInterface (View source)

Simple DTO wrapping the values required for a Router::route() call

Methods

__construct(ServerRequestInterface $httpRequest, RouteParameters $parameters)

No description

ServerRequestInterface
getHttpRequest()

No description

getParameters()

No description

string
getCacheEntryIdentifier()

No description

Details

__construct(ServerRequestInterface $httpRequest, RouteParameters $parameters)

No description

Parameters

ServerRequestInterface $httpRequest

The current HTTP request

RouteParameters $parameters

Routing RouteParameters

ServerRequestInterface getHttpRequest()

No description

Return Value

ServerRequestInterface

RouteParameters getParameters()

No description

Return Value

RouteParameters

string getCacheEntryIdentifier()

No description

Return Value

string