FileLoader
class FileLoader implements ILoader
Template loader.
Methods
__construct($baseDir = null)
No description
string
getContent($fileName)
Returns template source code.
bool
isExpired($file, $time)
No description
string
getReferredName($file, $referringFile)
Returns referred template name.
string
getUniqueId($file)
Returns unique identifier for caching.
Details
at line 24
__construct($baseDir = null)
No description
at line 34
string
getContent($fileName)
Returns template source code.
at line 55
bool
isExpired($file, $time)
No description
at line 65
string
getReferredName($file, $referringFile)
Returns referred template name.
at line 78
string
getUniqueId($file)
Returns unique identifier for caching.
Traits
Better OOP experience.