Skip to content

Kirby 3.8.4

$nestobject->get()

Gets one or multiple properties of the object

$nestobject->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\Cms\NestObject inherited from Kirby\Toolkit\Obj