public function addAliasMap(array $aliasMap)
    {
        foreach ($aliasMap['aliasToClassNameMapping'] as $alias => $originalClassName) {
            $lowerCaseAlias = strtolower($alias);
            $this->aliasMap['aliasToClassNameMapping'][$lowerCaseAlias] = $originalClassName;
            $this->aliasMap['classNameToAliasMapping'][$originalClassName][$lowerCaseAlias] = $lowerCaseAlias;
        }
    }
public function addAliasMap(array $aliasMap)
    {
        foreach ($aliasMap['aliasToClassNameMapping'] as $alias => $originalClassName) {
            $lowerCaseAlias = strtolower($alias);
            $this->aliasMap['aliasToClassNameMapping'][$lowerCaseAlias] = $originalClassName;
            $this->aliasMap['classNameToAliasMapping'][$originalClassName][$lowerCaseAlias] = $lowerCaseAlias;
        }
    }
public function addAliasMap ( array $ aliasMap ) { foreach ( $ aliasMap [ 'aliasToClassNameMapping' ] as $ alias => $ originalClassName ) { $ lowerCaseAlias = strtolower ( $ alias ) ; $ this -> aliasMap [ 'aliasToClassNameMapping' ] [ $ lowerCaseAlias ] = $ originalClassName ; $ this -> aliasMap [ 'classNameToAliasMapping' ] [ $ originalClassName ] [ $ lowerCaseAlias ] = $ lowerCaseAlias ; } }
Adds an alias map and merges it with already available map

@param array $aliasMap
Adds an alias map and merges it with already available map