You are here

public function UniversalClassLoader::registerPrefixFallback in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/class-loader/UniversalClassLoader.php \Symfony\Component\ClassLoader\UniversalClassLoader::registerPrefixFallback()

Registers a directory to use as a fallback for class prefixes.

Parameters

string $dir A directory:

File

vendor/symfony/class-loader/UniversalClassLoader.php, line 169

Class

UniversalClassLoader
UniversalClassLoader implements a "universal" autoloader for PHP 5.3.

Namespace

Symfony\Component\ClassLoader

Code

public function registerPrefixFallback($dir) {
  $this->prefixFallbacks[] = $dir;
}