PHP Class Modules\Core\Source\Libs\Middleware\OrderTypeMiddleware

Inheritance: extends App\Middleware\ABaseMiddleware
Show file Open project: andrey900/slimcms

Protected Properties

Property Type Description
$groupName
$req
$res
$variableName OrderTypeMiddleware constructor.

Public Methods

Method Description
__invoke ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, $next )
setOption ( $varName, RequestParams $allParams )

Protected Methods

Method Description
storeParams ( $value, $varName )

Method Details

__invoke() public method

public __invoke ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, $next )
$request Psr\Http\Message\ServerRequestInterface
$response Psr\Http\Message\ResponseInterface

setOption() public method

public setOption ( $varName, RequestParams $allParams )
$allParams app\helpers\RequestParams

storeParams() protected method

protected storeParams ( $value, $varName )

Property Details

$groupName protected property

protected $groupName

$req protected property

protected $req

$res protected property

protected $res

$variableName protected property

OrderTypeMiddleware constructor.
protected $variableName