ResourceNotFoundException
extends HttpResponseException
in package
Table of Contents
- $request : mixed
- $response : mixed
- factory() : mixed
- getRequest() : RequestInterface
- Get the request that caused the exception
- getResponse() : Response
- Get the response that caused the exception
- setRequest() : RequestException
- Set the request that caused the exception
- setResponse() : mixed
- Set the response that caused the exception
Properties
$request
protected
mixed
$request
$response
protected
mixed
$response
Methods
factory()
public
static factory(BadResponseException $exception) : mixed
Parameters
- $exception : BadResponseException
Return values
mixed —getRequest()
Get the request that caused the exception
public
getRequest() : RequestInterface
Return values
RequestInterface —getResponse()
Get the response that caused the exception
public
getResponse() : Response
Return values
Response —setRequest()
Set the request that caused the exception
public
setRequest(RequestInterface $request) : RequestException
Parameters
- $request : RequestInterface
-
Request to set
Return values
RequestException —setResponse()
Set the response that caused the exception
public
setResponse(Response $response) : mixed
Parameters
- $response : Response
-
Response to set