Skip to content

Kirby 4.5.0

$params->get()

Gets one or multiple properties of the object

$params->get(array|string $property, mixed $fallback = null)

Parameters

Name Type Default Description
$property * array|string
$fallback mixed null If multiple properties are requested:
Associative array of fallback values per key

Parent class

Kirby\Http\Params inherited from Kirby\Toolkit\Obj