Skip to content

Kirby 3.8.4

$obj->get()

Gets one or multiple properties of the object

$obj->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\Toolkit\Obj