Skip to content

Kirby 4.4.1

$responder->body()

Setter and getter for the response body

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

Parameters

Name Type Default
$body string|null null

Return type

Kirby\Cms\Responder|string|null

This method does not modify the existing $responder object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\Responder