Registers the directory to use as a fallback for namespaces.
@api
Parameters
array $dirs An array of directories:
File
- drupal/core/vendor/symfony/class-loader/Symfony/Component/ClassLoader/UniversalClassLoader.php, line 138
Class
- UniversalClassLoader
- UniversalClassLoader implements a "universal" autoloader for PHP 5.3.
Namespace
Symfony\Component\ClassLoader
Code
public function registerNamespaceFallbacks(array $dirs) {
$this->namespaceFallbacks = $dirs;
}