PHP Class Dingo\Api\Exception\InternalHttpException

Inheritance: extends Symfony\Component\HttpKernel\Exception\HttpException
Show file Open project: dingo/api

Protected Properties

Property Type Description
$response Illuminate\Http\Response The response.

Public Methods

Method Description
__construct ( Response $response, string $message = null, Exception $previous = null, array $headers = [], integer $code ) : void Create a new internal HTTP exception instance.
getResponse ( ) : Illuminate\Http\Response Get the response of the internal request.

Method Details

__construct() public method

Create a new internal HTTP exception instance.
public __construct ( Response $response, string $message = null, Exception $previous = null, array $headers = [], integer $code ) : void
$response Symfony\Component\HttpFoundation\Response
$message string
$previous Exception
$headers array
$code integer
return void

getResponse() public method

Get the response of the internal request.
public getResponse ( ) : Illuminate\Http\Response
return Illuminate\Http\Response

Property Details

$response protected property

The response.
protected Response,Illuminate\Http $response
return Illuminate\Http\Response