public function UniversalClassLoader::registerNamespaceFallback in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/class-loader/UniversalClassLoader.php \Symfony\Component\ClassLoader\UniversalClassLoader::registerNamespaceFallback()
Registers a directory to use as a fallback for namespaces.
Parameters
string $dir A directory:
File
- vendor/
symfony/ class-loader/ UniversalClassLoader.php, line 149
Class
- UniversalClassLoader
- UniversalClassLoader implements a "universal" autoloader for PHP 5.3.
Namespace
Symfony\Component\ClassLoaderCode
public function registerNamespaceFallback($dir) {
$this->namespaceFallbacks[] = $dir;
}