Larabros\Elogram\Http\Middleware\AbstractMiddleware::__construct PHP Method

__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
    protected function __construct(callable $nextHandler, ConfigInterface $config)
    {
        $this->nextHandler = $nextHandler;
        $this->config = $config;
    }
AbstractMiddleware