$response->code()
Getter for the HTTP status code
$response->code(): int
Return type
int
This method modifies the existing $response
object it is applied to and returns it again.
Parent class
Kirby\Cms\Response
inherited from Kirby\Http\Response