public function UniversalClassLoader::registerNamespaces in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/class-loader/UniversalClassLoader.php \Symfony\Component\ClassLoader\UniversalClassLoader::registerNamespaces()
Registers an array of namespaces.
Parameters
array $namespaces An array of namespaces (namespaces as keys and locations as values):
File
- vendor/
symfony/ class-loader/ UniversalClassLoader.php, line 179
Class
- UniversalClassLoader
- UniversalClassLoader implements a "universal" autoloader for PHP 5.3.
Namespace
Symfony\Component\ClassLoaderCode
public function registerNamespaces(array $namespaces) {
foreach ($namespaces as $namespace => $locations) {
$this->namespaces[$namespace] = (array) $locations;
}
}