$responder->code()
Setter and getter for the status code
$responder->code(int $code = null): int|Kirby\Cms\Responder
Parameters
| Name | Type | Default |
|---|---|---|
| $code | int |
null |
Return type
This method modifies the existing $responder object it is applied to and returns it again.