$template->file() Detects the location of the template file if it exists. kirby/src/Cms/Template.php#L121 $template->file(): string|null Return type string|null Parent class Kirby\Cms\Template