PHP Class Jarves\Exceptions\RestException

Inheritance: extends Exception, implements Symfony\Component\HttpKernel\Exception\HttpExceptionInterface
Show file Open project: jarves/jarves

Protected Properties

Property Type Description
$data mixed

Public Methods

Method Description
getData ( ) : mixed
getHeaders ( ) : array Returns response headers.
getStatusCode ( ) : integer Returns the status code.
setData ( mixed $data )

Method Details

getData() public method

public getData ( ) : mixed
return mixed

getHeaders() public method

Returns response headers.
public getHeaders ( ) : array
return array Response headers

getStatusCode() public method

Returns the status code.
public getStatusCode ( ) : integer
return integer An HTTP response status code

setData() public method

public setData ( mixed $data )
$data mixed

Property Details

$data protected property

protected mixed $data
return mixed