PHP Класс Psr7Middlewares\Middleware\DebugBar

Наследование: use trait Psr7Middlewares\Utils\HtmlInjectorTrait, use trait Psr7Middlewares\Utils\AttributeTrait
Показать файл Открыть проект

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

Constructor. Set the debug bar.
public __construct ( DebugBar\DebugBar $debugBar = null )
$debugBar DebugBar\DebugBar

__invoke() публичный Метод

Execute the middleware.
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
Результат Psr\Http\Message\ResponseInterface

captureAjax() публичный Метод

Configure whether capture ajax requests to send the data with headers.
public captureAjax ( boolean $captureAjax = true ) : self
$captureAjax boolean
Результат self