PHP Class System\Response\Status

Afficher le fichier Open project: rwarasaurus/nano Class Usage Examples

Méthodes publiques

Свойство Type Description
$messages array Array or possible server status responses
$protocol string The server protocol
$status integer The status code

Méthodes publiques

Méthode Description
__construct ( $status = 200 ) Create an instance or the Status class
header ( ) Send the status header

Method Details

__construct() public méthode

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

header() public méthode

Send the status header
public header ( )

Property Details

$messages public_oe property

Array or possible server status responses
public array $messages
Résultat array

$protocol public_oe property

The server protocol
public string $protocol
Résultat string

$status public_oe property

The status code
public int $status
Résultat integer