PHP Class Larabros\Elogram\Http\Middleware\AbstractMiddleware

Inheritance: implements Larabros\Elogram\Http\Middleware\MiddlewareInterface
Show file Open project: larabros/elogram Class Usage Examples

Protected Properties

Property Type Description
$config Noodlehaus\ConfigInterface The application configuration.
$nextHandler callable The next handler in the stack.

Public Methods

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

Protected Methods

Method Description
__construct ( callable $nextHandler, Noodlehaus\ConfigInterface $config ) Creates an instance of :php:class:AbstractMiddleware.

Method Details

__construct() protected method

Creates an instance of :php:class:AbstractMiddleware.
See also: AbstractMiddleware::create()
protected __construct ( callable $nextHandler, Noodlehaus\ConfigInterface $config )
$nextHandler callable
$config Noodlehaus\ConfigInterface

__invoke() public method

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

Property Details

$config protected property

The application configuration.
protected ConfigInterface,Noodlehaus $config
return Noodlehaus\ConfigInterface

$nextHandler protected property

The next handler in the stack.
protected callable $nextHandler
return callable