$basePath
$basePath : string
The PHP template loader finds a mustache php template file in directories and includes it (run as PHP).
findTemplateFile(string $ident) : string|null
Get the template file (full path + filename) to load from an ident.
This method first generates the filename for an identifier and search for it in all of the loader's paths.
string | $ident | The template identifier to load. |
If the template ident is not a string.
The full path + filename of the found template. Null if nothing was found.
setPaths(array<mixed,string> $paths) : \Charcoal\View\LoaderInterface
array<mixed,string> | $paths | The list of path to add. |
Chainable
setBasePath(string $basePath) : \Charcoal\View\LoaderInterface
string | $basePath | The base path to set. |
If the base path parameter is not a string.
Chainable
addPath(string $path) : \Charcoal\View\LoaderInterface
string | $path | The path to add to the load. |
Chainable