Property | Type | Description | |
---|---|---|---|
$messages | array | Array or possible server status responses | |
$protocol | string | The server protocol | |
$status | integer | The status code |
Method | Description | |
---|---|---|
__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 |
public __construct ( $status = 200 ) |
public array $messages | ||
return | array |