BackendRouteInitialization implements MiddlewareInterface

Loads ext_tables.php from all extensions, as this is the place where all modules register their routes to the router (additionally to those routes which are loaded in dependency injection factories from Configuration/Backend/{,Ajax}Routes.php).

The route path is then matched inside the Router and then handed into the request.

After this middleware, a "Route" object is available as attribute in the Request object.

Internal

Table of Contents

Interfaces

MiddlewareInterface

Properties

$router  : Router

Methods

__construct()  : mixed
process()  : ResponseInterface
Resolve the &route (or &M) GET/POST parameter, and also resolves a Route object

Properties

Methods

process()

Resolve the &route (or &M) GET/POST parameter, and also resolves a Route object

public process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
$request : ServerRequestInterface
$handler : RequestHandlerInterface
Return values
ResponseInterface

        
On this page

Search results