You are here

public function UniversalClassLoader::registerNamespaceFallback in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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\ClassLoader

Code

public function registerNamespaceFallback($dir) {
  $this->namespaceFallbacks[] = $dir;
}