StringLoader
class StringLoader implements ILoader
Template loader.
Methods
__construct(array $templates = null)
No description
string
getContent($name)
Returns template source code.
bool
isExpired($name, $time)
No description
string
getReferredName($name, $referringName)
Returns referred template name.
string
getUniqueId($name)
Returns unique identifier for caching.
Details
at line 24
__construct(array $templates = null)
No description
at line 34
string
getContent($name)
Returns template source code.
at line 49
bool
isExpired($name, $time)
No description
at line 59
string
getReferredName($name, $referringName)
Returns referred template name.
at line 72
string
getUniqueId($name)
Returns unique identifier for caching.
Traits
Better OOP experience.