$responder->body()
Setter and getter for the response body
$responder->body(string|null $body = null): Kirby\Cms\Responder|string|null
Parameters
| Name | Type | Default |
|---|---|---|
| $body | stringornull |
null
|
Return types
Kirby\Cms\Responderorstringornull
This method modifies the existing $responder object it is applied to and returns it again.