$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 | string ornull |
null
|
Return types
Kirby\Cms\Responder
orstring
ornull
This method modifies the existing $responder
object it is applied to and returns it again.