PHP Класс System\Response\status

Показать файл Открыть проект

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

Свойство Тип Описание
$messages array Array or possible server status responses
$protocol string The server protocol
$status integer The status code

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

Метод Описание
__construct ( $status = 200 ) Create an instance or the Status class
create ( $status = 200 ) : object Create an instance or the Status class for chaining
header ( ) Send the status header

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

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

Create an instance or the Status class
public __construct ( $status = 200 )

create() публичный статический Метод

Create an instance or the Status class for chaining
public static create ( $status = 200 ) : object
Результат object

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

Send the status header
public header ( )

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

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

Array or possible server status responses
public array $messages
Результат array

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

The server protocol
public string $protocol
Результат string

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

The status code
public int $status
Результат integer