public function Twig_Loader_Filesystem::getNamespaces in Translation template extractor 6.3
Same name and namespace in other branches
- 7.3 vendor/Twig/Loader/Filesystem.php \Twig_Loader_Filesystem::getNamespaces()
Returns the path namespaces.
The main namespace is always defined.
Return value
array The array of defined namespaces
File
- vendor/
Twig/ Loader/ Filesystem.php, line 56
Class
- Twig_Loader_Filesystem
- Loads template from the filesystem.
Code
public function getNamespaces() {
return array_keys($this->paths);
}