WordPress at a glance
function is not described

Composer\Autoload

ClassLoader::addClassMap() public WC 1.0

{} It's a method of the class: ClassLoader{}

No Hooks.

Return

null. Nothing.

Usage

$ClassLoader = new ClassLoader();
$ClassLoader->addClassMap( $classMap );
$classMap(array) (required)
Class to filename map

Code of ClassLoader::addClassMap() WC 5.3.0

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