Метод | Описание | |
---|---|---|
__construct ( string $message, integer $code, Exception $previous = null, Psr\Http\Message\RequestInterface $request = null, Psr\Http\Message\ResponseInterface $response = null, array $handlerContext = [] ) | Constructor | |
getHandlerContext ( ) : array | Get the context | |
getRequest ( ) : Psr\Http\Message\RequestInterface | Get the request | |
getResponse ( ) : Psr\Http\Message\ResponseInterface | Get the response | |
hasResponse ( ) : boolean | If a response exists |
public __construct ( string $message, integer $code, Exception $previous = null, Psr\Http\Message\RequestInterface $request = null, Psr\Http\Message\ResponseInterface $response = null, array $handlerContext = [] ) | ||
$message | string | |
$code | integer | |
$previous | Exception | |
$request | Psr\Http\Message\RequestInterface | |
$response | Psr\Http\Message\ResponseInterface | |
$handlerContext | array |
public getHandlerContext ( ) : array | ||
Результат | array |
public getRequest ( ) : Psr\Http\Message\RequestInterface | ||
Результат | Psr\Http\Message\RequestInterface |
public getResponse ( ) : Psr\Http\Message\ResponseInterface | ||
Результат | Psr\Http\Message\ResponseInterface |
public hasResponse ( ) : boolean | ||
Результат | boolean |