Skip to content

Kirby 4.5.0

$file->parent()

Returns the parent object

$file->parent(): Kirby\Cms\Page|Kirby\Cms\Site|Kirby\Cms\User

Return type

Kirby\Cms\Page|Kirby\Cms\Site|Kirby\Cms\User

Parent class

Kirby\Cms\File