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