\Twig_LoaderInterface
Interface all loaders must implement.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
interface Twig_LoaderInterface
{
- // methods
- public string getSource()
- public string getCacheKey()
- public Boolean isFresh()
Methods
public
- getCacheKey() — Gets the cache key to use for the cache for a given template name.
- getSource() — Gets the source code of a template, given its name.
- isFresh() — Returns true if the template is still fresh.