You are here

public function ClassLoader::addClassMap in Hook Update Deploy Tools 7

Parameters

array $classMap Class to filename map:

File

vendor/composer/ClassLoader.php, line 91

Class

ClassLoader
ClassLoader implements a PSR-0 class loader

Namespace

Composer\Autoload

Code

public function addClassMap(array $classMap) {
  if ($this->classMap) {
    $this->classMap = array_merge($this->classMap, $classMap);
  }
  else {
    $this->classMap = $classMap;
  }
}