<?php file_exists(string $filename): bool
<?php { $fontFile = __DIR__ . '/../../fonts/' . $value . '.json'; if (! file_exists($fontFile)) { throw new Exception("Font {$value} not found."); }
<?php { $fontFile = $value . '.json'; if (! file_exists($fontFile)) { throw new Exception("Font {$value} not found."); }