Symfony\Component\Templating\Loader\FilesystemLoader
FilesystemLoader is a loader that read templates from the filesystem.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class FilesystemLoader
extends Loader
{
- // members
- protected $templatePathPatterns;
- // Inherited members from Loader
- protected $debugger;
- // methods
- public void __construct()
- public Storage|Boolean load()
- public Boolean isFresh()
- protected static Boolean isAbsolutePath()
- // Inherited methods from Loader
- public void setDebugger()
Hierarchy
Members
protected
- $debugger
- $templatePathPatterns
Methods
protected
- isAbsolutePath() — Returns true if the file is an existing absolute path.
public
- __construct() — Constructor.
- isFresh() — Returns true if the template is still fresh.
- load() — Loads a template.
Inherited from Symfony\Component\Templating\Loader\Loader
public
- setDebugger() — Sets the debugger to use for this loader.