public function getDependencies()
    {
        if (empty($this->dependencies)) {
            foreach ($this->getManifest()->getDependencies() as $id => $version) {
                $this->dependencies[$id] = $version;
                $dependence = $this->getExtensionManager()->getExtensionById($id);
                $this->dependencies = array_merge($this->dependencies, $dependence->getDependencies());
            }
        }
        return $this->dependencies;
    }
public function getDependencies()
    {
        if (empty($this->dependencies)) {
            foreach ($this->getManifest()->getDependencies() as $id => $version) {
                $this->dependencies[$id] = $version;
                $dependence = $this->getExtensionManager()->getExtensionById($id);
                $this->dependencies = array_merge($this->dependencies, $dependence->getDependencies());
            }
        }
        return $this->dependencies;
    }
public function getDependencies ( ) { if ( empty ( $ this -> dependencies ) ) { foreach ( $ this -> getManifest ( ) -> getDependencies ( ) as $ id => $ version ) { $ this -> dependencies [ $ id ] = $ version ; $ dependence = $ this -> getExtensionManager ( ) -> getExtensionById ( $ id ) ; $ this -> dependencies = array_merge ( $ this -> dependencies , $ dependence -> getDependencies ( ) ) ; } } return $ this -> dependencies ; }
Returns the extension the current extension depends on recursively

@access public
@return array Where key is name of extension and value is required version.
Returns the extension the current extension depends on recursively