Skip to content

Kirby 3.6.6

$responder->body()

Setter and getter for the response body

$responder->body(string $body = null): string|Kirby\Cms\Responder

Parameters

Name Type Default
$body string null

Return type

string|Kirby\Cms\Responder

This method modifies the existing $responder object it is applied to and returns it again.

Parent class

Kirby\Cms\Responder