\Twig_Loader_Filesystem
Loads template from the filesystem.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class Twig_Loader_Filesystem
implements
Twig_LoaderInterface,Twig_ExistsLoaderInterface
{
- // methods
- public void __construct()
- public array getPaths()
- public array getNamespaces()
- public void setPaths()
- public void addPath()
- public void prependPath()
- public void getSource()
- public void getCacheKey()
- public void exists()
- public void isFresh()
- protected void findTemplate()
- protected void validateName()
Hierarchy
Extended by
Implements
Members
protected
- $cache
- $paths
Methods
protected
public
- __construct() — Constructor.
- addPath() — Adds a path where templates are stored.
- exists() — {@inheritdoc}
- getCacheKey() — {@inheritdoc}
- getNamespaces() — Returns the path namespaces.
- getPaths() — Returns the paths to the templates.
- getSource() — {@inheritdoc}
- isFresh() — {@inheritdoc}
- prependPath() — Prepends a path where templates are stored.
- setPaths() — Sets the paths where templates are stored.