$file->mediaRoot() Returns the absolute path to the file in the public media folder kirby/src/Cms/File.php#L318 $file->mediaRoot(): string Return type string Parent class Kirby\Cms\File