$responder->body()
Setter and getter for the response body
$responder->body(string|null $body = null): string|null|Responder
Parameters
| Name | Type | Default |
|---|---|---|
| $body | stringornull |
null
|
Return types
stringornullorKirby\Cms\Responder
This method does not modify the existing $responder object but returns a new object with the changes applied. Learn more →