Skip to content

Kirby 6.0.0

$body->contents()

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

$body->contents(): array|string

Return types

arrayorstring

Parent class

Kirby\Http\Request\Body