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