Skip to content

Kirby 4.5.0

$body->contents()

Fetches the raw contents for the body or uses the passed contents.

$body->contents(): array|string

Return type

array|string

Parent class

Kirby\Http\Request\Body