Property | Type | Description | |
---|---|---|---|
$factory | |||
$stack |
Method | Description | |
---|---|---|
__construct ( tari\FactoryInterface $factory, array $middleware = [] ) | ||
append ( $middleware ) : void | Append a middleware onto the stack | |
prepend ( $middleware ) : void | Append a middleware onto the stack | |
run ( Psr\Http\Message\ServerRequestInterface $request, callable $default ) : Psr\Http\Message\ResponseInterface |
Method | Description | |
---|---|---|
normalize ( $middleware ) : tari\ServerMiddlewareInterface |
public __construct ( tari\FactoryInterface $factory, array $middleware = [] ) | ||
$factory | tari\FactoryInterface | |
$middleware | array |