PHP Class Xpressengine\Support\Exceptions\HttpXpressengineException

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

Protected Properties

Свойство Type Description
$statusCode

Méthodes publiques

Méthode 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 méthode

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 méthode

Returns response headers.
public getHeaders ( ) : array
Résultat array Response headers

getStatusCode() public méthode

getStatusCode
public getStatusCode ( ) : integer
Résultat integer status code

Property Details

$statusCode protected_oe property

protected $statusCode