PHP Class App\Source\Events\BaseMiddlewareEvent

Inheritance: extends Symfony\Component\EventDispatcher\Event
Show file Open project: andrey900/slimcms

Protected Properties

Property Type Description
$container Slim\Container
$params

Public Methods

Method Description
__construct ( Slim\Container $container, Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, $params = [] )
getContainer ( ) : Slim\Container
getLogger ( )
getParams ( )
getRequest ( )
getResponse ( )
setParams ( $params )
setRequest ( Psr\Http\Message\ServerRequestInterface $request )
setResponse ( Psr\Http\Message\ResponseInterface $response )

Method Details

__construct() public method

public __construct ( Slim\Container $container, Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, $params = [] )
$container Slim\Container
$request Psr\Http\Message\ServerRequestInterface
$response Psr\Http\Message\ResponseInterface

getContainer() public method

public getContainer ( ) : Slim\Container
return Slim\Container

getLogger() public method

public getLogger ( )

getParams() public method

public getParams ( )

getRequest() public method

public getRequest ( )

getResponse() public method

public getResponse ( )

setParams() public method

public setParams ( $params )

setRequest() public method

public setRequest ( Psr\Http\Message\ServerRequestInterface $request )
$request Psr\Http\Message\ServerRequestInterface

setResponse() public method

public setResponse ( Psr\Http\Message\ResponseInterface $response )
$response Psr\Http\Message\ResponseInterface

Property Details

$container protected property

protected Container,Slim $container
return Slim\Container

$params protected property

protected $params