$request
$request : \Psr\Http\Message\RequestInterface
This is the base class for a middleware.
$application : \Gishiki\Core\Application|null
__construct(\Psr\Http\Message\RequestInterface $request, \Psr\Http\Message\ResponseInterface $response, \Gishiki\Core\Application|null $app = null)
Plugin constructor.
Warning: you should never attempt to use another construction in your plugin, unless it calls parent::__construct()
\Psr\Http\Message\RequestInterface | $request | the HTTP request |
\Psr\Http\Message\ResponseInterface | $response | the HTTP response |
\Gishiki\Core\Application|null | $app | the current application instance |