Method | Description | |
---|---|---|
__invoke ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, callable $next ) : Psr\Http\Message\ResponseInterface | Execute the middleware. | |
continueOnError ( boolean $continueOnError = true ) : self | Configure if continue to the next middleware if the response has not found. |
Method | Description | |
---|---|---|
includeFile ( string $file ) : string | Includes a php file from a static context. |
public __invoke ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, callable $next ) : Psr\Http\Message\ResponseInterface | ||
$request | Psr\Http\Message\ServerRequestInterface | |
$response | Psr\Http\Message\ResponseInterface | |
$next | callable | |
return | Psr\Http\Message\ResponseInterface |
public continueOnError ( boolean $continueOnError = true ) : self | ||
$continueOnError | boolean | |
return | self |