public function addClassMap(array $map)
    {
        if (empty($this->classMap)) {
            $this->classMap = $map;

            return $this;
        }
        $this->classMap = array_merge($this->classMap, $map);

        return $this;
    }
public function addClassMap(array $map)
    {
        if (empty($this->classMap)) {
            $this->classMap = $map;

            return $this;
        }
        $this->classMap = array_merge($this->classMap, $map);

        return $this;
    }
public function addClassMap ( array $ map ) { if ( empty ( $ this -> classMap ) ) { $ this -> classMap = $ map ; return $ this ; } $ this -> classMap = array_merge ( $ this -> classMap , $ map ) ; return $ this ; }
Adds the map of classes.

@param array $map The map of classes

@return self
Adds the map of classes .