You are here

public function ClassLoader::addPrefixes in Zircon Profile 8

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

Adds prefixes.

Parameters

array $prefixes Prefixes to add:

File

vendor/symfony/class-loader/ClassLoader.php, line 71

Class

ClassLoader
ClassLoader implements an PSR-0 class loader.

Namespace

Symfony\Component\ClassLoader

Code

public function addPrefixes(array $prefixes) {
  foreach ($prefixes as $prefix => $path) {
    $this
      ->addPrefix($prefix, $path);
  }
}