Composer\Autoload

ClassLoader::addClassMap()publicWPSCache 1.0

Method of the class: ClassLoader{}

No Hooks.

Return

null. Nothing.

Usage

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

ClassLoader::addClassMap() code WPSCache 1.9.2

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