Method | Description | |
---|---|---|
__construct ( Psr\Http\Message\RequestInterface $request, Psr\Http\Message\ResponseInterface $response = null ) | Constructor | |
getRequest ( ) : Psr\Http\Message\RequestInterface | Get the request | |
getResponse ( ) : Psr\Http\Message\ResponseInterface | Get the response | |
setResponse ( Psr\Http\Message\ResponseInterface $response = null ) | Set the updated response back to the event |
public __construct ( Psr\Http\Message\RequestInterface $request, Psr\Http\Message\ResponseInterface $response = null ) | ||
$request | Psr\Http\Message\RequestInterface | |
$response | Psr\Http\Message\ResponseInterface |
public getRequest ( ) : Psr\Http\Message\RequestInterface | ||
return | Psr\Http\Message\RequestInterface |
public getResponse ( ) : Psr\Http\Message\ResponseInterface | ||
return | Psr\Http\Message\ResponseInterface |
public setResponse ( Psr\Http\Message\ResponseInterface $response = null ) | ||
$response | Psr\Http\Message\ResponseInterface |