You are here

public function Twig_Loader_Filesystem::getNamespaces in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/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/twig/lib/Twig/Loader/Filesystem.php, line 57

Class

Twig_Loader_Filesystem
Loads template from the filesystem.

Code

public function getNamespaces() {
  return array_keys($this->paths);
}