Routing
class Routing (View source)
Class used to warm up the routing cache and manage routing.
Constants
ROUTES_CACHE_FILE |
|
Properties
static string deprecated | $route |
Methods
static bool
skipCache()
No description
static bool
canWriteCache()
No description
static Dispatcher
getDispatcher()
No description
static bool
writeCache(string $cacheContents)
No description
static Response
callControllerForRoute(ServerRequest $request, Dispatcher $dispatcher, ContainerInterface $container, ResponseFactory $responseFactory)
Call associated controller for a route using the dispatcher
static Response
static string
getCleanPathInfo()
PATH_INFO could be compromised if set, so remove it from PHP_SELF and provide a clean PHP_SELF here
Details
static bool
skipCache()
No description
static bool
canWriteCache()
No description
static Dispatcher
getDispatcher()
No description
static bool
writeCache(string $cacheContents)
No description
static Response
callControllerForRoute(ServerRequest $request, Dispatcher $dispatcher, ContainerInterface $container, ResponseFactory $responseFactory)
Call associated controller for a route using the dispatcher
static Response
callSetupController(ServerRequest $request, ResponseFactory $responseFactory)
No description
static string
getCleanPathInfo()
PATH_INFO could be compromised if set, so remove it from PHP_SELF and provide a clean PHP_SELF here