$file->parent() Returns the parent object kirby/src/Cms/File.php#L483 $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