StringLoader
class StringLoader implements Loader
Template loader.
Methods
__construct(array $templates = null)
No description
getContent($name)
Returns template source code.
isExpired($name, $time)
Checks whether template is expired.
getReferredName($name, $referringName)
Returns referred template name.
getUniqueId($name)
Returns unique identifier for caching.
Details
at line 26
__construct(array $templates = null)
No description
at line 35
getContent($name)
Returns template source code.
at line 47
isExpired($name, $time)
Checks whether template is expired.
at line 56
getReferredName($name, $referringName)
Returns referred template name.
at line 68
getUniqueId($name)
Returns unique identifier for caching.
Traits
Better OOP experience.