FileLoader
class FileLoader implements ILoader
Template loader.
Methods
__construct($baseDir = null)
No description
getContent($fileName)
Returns template source code.
isExpired($file, $time)
Checks whether template is expired.
getReferredName($file, $referringFile)
Returns referred template name.
getUniqueId($file)
Returns unique identifier for caching.
Details
at line 26
__construct($baseDir = null)
No description
at line 35
getContent($fileName)
Returns template source code.
at line 53
isExpired($file, $time)
Checks whether template is expired.
at line 63
getReferredName($file, $referringFile)
Returns referred template name.
at line 75
getUniqueId($file)
Returns unique identifier for caching.
Traits
Better OOP experience.