Header::status()
Sends a status header
Header::status(int|string $code = null, bool $send = true): string|void
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $code | int|string |
null |
The HTTP status code |
| $send | bool |
true |
If set to false the header will be returned instead |
Return type
string|void