Skip to content

Kirby 3.9.8

$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 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