You are here

public function ClassLoader::addClassMap in Mobile Number 7

AddClassMap.

Parameters

array $classMap: Class to filename map.

File

include/ClassLoader.php, line 109

Class

ClassLoader
ClassLoader implements a PSR-0, PSR-4 and classmap class loader.

Namespace

mobile_number

Code

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