AdminPanelRenderer implements MiddlewareInterface
Read onlyYes
Render the admin panel via PSR-15 middleware
Table of Contents
Interfaces
- MiddlewareInterface
Methods
- __construct() : mixed
- process() : ResponseInterface
- Render the admin panel if activated
Methods
__construct()
public
__construct(MainController $mainController) : mixed
Parameters
- $mainController : MainController
process()
Render the admin panel if activated
public
process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
- $request : ServerRequestInterface
- $handler : RequestHandlerInterface