$file->kirby() Returns the app instance if it exists kirby/src/Filesystem/File.php#L254 $file->kirby(): Kirby\Cms\App|null Return type Kirby\Cms\App|null Parent class Kirby\Filesystem\File