public function Twig_Loader_Filesystem::__construct in Translation template extractor 6.3
Same name and namespace in other branches
- 7.3 vendor/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/ Loader/ Filesystem.php, line 30
Class
- Twig_Loader_Filesystem
- Loads template from the filesystem.
Code
public function __construct($paths = array()) {
if ($paths) {
$this
->setPaths($paths);
}
}