PHP Class Xpressengine\Support\Exceptions\HttpXpressengineException

Author: XE Developers ([email protected])
Inheritance: extends XpressengineException, implements Symfony\Component\HttpKernel\Exception\HttpExceptionInterface
Exibir arquivo Open project: xpressengine/xpressengine Class Usage Examples

Protected Properties

Property Type Description
$statusCode

Public Methods

Method Description
__construct ( array $args = [], integer $statusCode = null, Exception $previous = null, array $headers = [], integer $code ) HttpXpressengineException constructor.
getHeaders ( ) : array Returns response headers.
getStatusCode ( ) : integer getStatusCode

Method Details

__construct() public method

HttpXpressengineException constructor.
public __construct ( array $args = [], integer $statusCode = null, Exception $previous = null, array $headers = [], integer $code )
$args array arguments array
$statusCode integer exception status code
$previous Exception exception
$headers array header
$code integer code

getHeaders() public method

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

getStatusCode() public method

getStatusCode
public getStatusCode ( ) : integer
return integer status code

Property Details

$statusCode protected_oe property

protected $statusCode