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