Method | Description | |
---|---|---|
__construct ( DebugBar\DebugBar $debugBar = null ) | Constructor. Set the debug bar. | |
__invoke ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, callable $next ) : Psr\Http\Message\ResponseInterface | Execute the middleware. | |
captureAjax ( boolean $captureAjax = true ) : self | Configure whether capture ajax requests to send the data with headers. |
public __construct ( DebugBar\DebugBar $debugBar = null ) | ||
$debugBar | DebugBar\DebugBar |
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 captureAjax ( boolean $captureAjax = true ) : self | ||
$captureAjax | boolean | |
return | self |