Plugin
Ability to influence front controller.
Instance Methods
| Returns | Signature and Description |
|---|---|
ResponseInterface | __invoke(, , )Middleware request–response handling. |
int | Gets the plugin priority; larger means first. |
Method Details
__invoke
abstract public function
__invoke(ServerRequestInterface $request, ResponseInterface $response, (function(Request,Response):Response) $next)Middleware request–response handling.
| Name | Type | Description |
|---|---|---|
$request | ServerRequestInterface | The server request |
$response | ResponseInterface | The response |
$next | (function(Request,Response):Response) |
| Type | Description |
|---|---|
ResponseInterface | The response |
getPriority
abstract public function
getPriority()Gets the plugin priority; larger means first.
| Type | Description |
|---|---|
int | The plugin priority |