PHP Класс yii\base\ExitException

Do not catch ExitException. Yii will handle this exception to terminate the application gracefully.
С версии: 2.0
Автор: Qiang Xue ([email protected])
Наследование: extends Exception
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$statusCode the exit status code

Открытые методы

Метод Описание
__construct ( integer $status, string $message = null, integer $code, Exception $previous = null ) Constructor.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( integer $status, string $message = null, integer $code, Exception $previous = null )
$status integer the exit status code
$message string error message
$code integer error code
$previous Exception The previous exception used for the exception chaining.

Описание свойств

$statusCode публичное свойство

the exit status code
public $statusCode