public function getMapFromOtherScope($scope)
    {
        if (null === $map = $this->getDependencyMap($scope)) {
            throw new Doozr_Di_Exception(
                sprintf(
                    'Dependency map could not be found. Dependency map for scope "%s" does not exist.',
                    $scope
                )
            );
        }

        // Return requested map
        return $map;
    }
public function getMapFromOtherScope($scope)
    {
        if (null === $map = $this->getDependencyMap($scope)) {
            throw new Doozr_Di_Exception(
                sprintf(
                    'Dependency map could not be found. Dependency map for scope "%s" does not exist.',
                    $scope
                )
            );
        }

        // Return requested map
        return $map;
    }
public function getMapFromOtherScope ( $ scope ) { if ( null === $ map = $ this -> getDependencyMap ( $ scope ) ) { throw new Doozr_Di_Exception ( sprintf ( 'Dependency map could not be found. Dependency map for scope "%s" does not exist.' , $ scope ) ) ; } // Return requested map return $ map ; }
Returns the Dependency-Map from another scope.

This method is intend to return the Dependency-Map of another scope.

@param string $scope The scope to load map from

@author Benjamin Carl <opensource@clickalicious.de>

@return Doozr_Di_Map_Interface The dependency instance from another scope

@throws Doozr_Di_Exception
Returns the Dependency - Map from another scope .