public function addToMap(Doozr_Di_Map $map)
    {
        // Merge
        $existingMap = $this->getMap();

        if (null !== $existingMap) {
            $map = $this->mergeMaps($existingMap, $map);
        }

        $this->setDependencyMap($this->getScope(), $map);
    }
public function addToMap(Doozr_Di_Map $map)
    {
        // Merge
        $existingMap = $this->getMap();

        if (null !== $existingMap) {
            $map = $this->mergeMaps($existingMap, $map);
        }

        $this->setDependencyMap($this->getScope(), $map);
    }
public function addToMap ( Doozr_Di_Map $ map ) { // Merge $ existingMap = $ this -> getMap ( ) ; if ( null !== $ existingMap ) { $ map = $ this -> mergeMaps ( $ existingMap , $ map ) ; } $ this -> setDependencyMap ( $ this -> getScope ( ) , $ map ) ; }
Adds a Doozr_Di_Map to existing.

@param Doozr_Di_Map $map Map to merge in

@author Benjamin Carl <opensource@clickalicious.de>

@return bool|null TRUE on success, otherwise FALSE
Adds a Doozr_Di_Map to existing .