public function Twig_Loader_Filesystem::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/lib/Twig/Loader/Filesystem.php \Twig_Loader_Filesystem::__construct()
Constructor.
Parameters
string|array $paths A path or an array of paths where to look for templates:
File
- vendor/
twig/ twig/ lib/ Twig/ Loader/ Filesystem.php, line 31
Class
- Twig_Loader_Filesystem
- Loads template from the filesystem.
Code
public function __construct($paths = array()) {
if ($paths) {
$this
->setPaths($paths);
}
}