Skip to content

Kirby 3.6.6

$params->get()

Gets one or multiple properties of the object

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

Parameters

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

Return type

mixed

Parent class

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