public function Twig_Loader_Filesystem::getNamespaces

Returns the path namespaces.

The "__main__" namespace is always defined.

Return value

array The array of defined namespaces

File

drupal/core/vendor/twig/twig/lib/Twig/Loader/Filesystem.php, line 51

Class

Twig_Loader_Filesystem
Loads template from the filesystem.

Code

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