Skip to content

Kirby 3.8.4

$query->get()

Gets one or multiple properties of the object

$query->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\Query inherited from Kirby\Toolkit\Obj