public function UniversalClassLoader::registerNamespace in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/class-loader/UniversalClassLoader.php \Symfony\Component\ClassLoader\UniversalClassLoader::registerNamespace()
Registers a namespace.
Parameters
string $namespace The namespace:
array|string $paths The location(s) of the namespace:
File
- vendor/
symfony/ class-loader/ UniversalClassLoader.php, line 192
Class
- UniversalClassLoader
- UniversalClassLoader implements a "universal" autoloader for PHP 5.3.
Namespace
Symfony\Component\ClassLoaderCode
public function registerNamespace($namespace, $paths) {
$this->namespaces[$namespace] = (array) $paths;
}