Skip to content

Kirby 4.5.0

new Body()

Creates a new request body object.

new Body(array|string|null $contents = null)

Parameters

Name Type Default
$contents array|string|null null

Parent class

Kirby\Http\Request\Body