Skip to content

Kirby 5.0.4

Nest::create()

Nest::create($data, object|null $parent = null): Kirby\Cms\NestCollection|Kirby\Cms\NestObject|Kirby\Content\Field

Parameters

Name Type Default
$datarequired mixed no default value
$parent objectornull null

Return types

Kirby\Cms\NestCollectionorKirby\Cms\NestObjectorKirby\Content\Field

Parent class

Kirby\Cms\Nest