PHP Класс Larabros\Elogram\Http\Middleware\AbstractMiddleware

Автор: Hassan Khan ([email protected])
Наследование: implements Larabros\Elogram\Http\Middleware\MiddlewareInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$config Noodlehaus\ConfigInterface The application configuration.
$nextHandler callable The next handler in the stack.

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

Метод Описание
__invoke ( Psr\Http\Message\RequestInterface $request, array $options ) {@inheritDoc}

Защищенные методы

Метод Описание
__construct ( callable $nextHandler, Noodlehaus\ConfigInterface $config ) Creates an instance of :php:class:AbstractMiddleware.

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

__construct() защищенный Метод

Creates an instance of :php:class:AbstractMiddleware.
См. также: AbstractMiddleware::create()
protected __construct ( callable $nextHandler, Noodlehaus\ConfigInterface $config )
$nextHandler callable
$config Noodlehaus\ConfigInterface

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

{@inheritDoc}
public __invoke ( Psr\Http\Message\RequestInterface $request, array $options )
$request Psr\Http\Message\RequestInterface
$options array

Описание свойств

$config защищенное свойство

The application configuration.
protected ConfigInterface,Noodlehaus $config
Результат Noodlehaus\ConfigInterface

$nextHandler защищенное свойство

The next handler in the stack.
protected callable $nextHandler
Результат callable