public function ClassLoader::addClassMap in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.2 vendor/composer/ClassLoader.php \Composer\Autoload\ClassLoader::addClassMap()
- 8.3 vendor/composer/ClassLoader.php \Composer\Autoload\ClassLoader::addClassMap()
Parameters
array $classMap Class to filename map:
File
- vendor/
composer/ ClassLoader.php, line 92
Class
- ClassLoader
- ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
Namespace
Composer\AutoloadCode
public function addClassMap(array $classMap) {
if ($this->classMap) {
$this->classMap = array_merge($this->classMap, $classMap);
}
else {
$this->classMap = $classMap;
}
}