FileLoader
class FileLoader implements Loader
Template loader.
Properties
protected | $baseDir |
Methods
__construct(string|null $baseDir = null)
No description
string
getContent(string $fileName)
Returns template source code.
string
getReferredName(string $file, string $referringFile)
Returns referred template name.
string
getUniqueId(string $file)
Returns unique identifier for caching.
static string
normalizePath(string $path)
No description
Details
at line 25
__construct(string|null $baseDir = null)
No description
at line 34
string
getContent(string $fileName)
Returns template source code.
at line 51
string
getReferredName(string $file, string $referringFile)
Returns referred template name.
at line 64
string
getUniqueId(string $file)
Returns unique identifier for caching.
at line 70
static protected string
normalizePath(string $path)
No description