Skip to content

Kirby 4.5.0

$obj->get()

Gets one or multiple properties of the object

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