FileSystemLoader
class FileSystemLoader extends FilesystemLoader
Loads twig template from the filesystem.
Methods
string|false|null
findTemplate(string $name, bool $throw = true)
Checks if the template can be found.
Details
at line 25
protected string|false|null
findTemplate(string $name, bool $throw = true)
Checks if the template can be found.
Override the parent method to remove the bundle name and replace all ':' by '/' in the template name