interface Twig_LoaderInterface
Interface all loaders must implement.
Methods
| string |
getSource(string $name)
Gets the source code of a template, given its name. |
|
| string |
getCacheKey(string $name)
Gets the cache key to use for the cache for a given template name. |
|
| Boolean |
isFresh(string $name, timestamp $time)
Returns true if the template is still fresh. |
Details
at line 28
public string
getSource(string $name)
Gets the source code of a template, given its name.
at line 39
public string
getCacheKey(string $name)
Gets the cache key to use for the cache for a given template name.
at line 51
public Boolean
isFresh(string $name, timestamp $time)
Returns true if the template is still fresh.