public function setDependencyPhpVersion($minVersion, $maxVersion)
    {
        $parent = $this->_packageXml->dependencies;
        $parent = $this->_getNode('required', $parent);
        $parent = $this->_getNode('php', $parent);
        $parent->addChild('min', $minVersion);
        $parent->addChild('max', $maxVersion);
        return $this;
    }
public function setDependencyPhpVersion($minVersion, $maxVersion)
    {
        $parent = $this->_packageXml->dependencies;
        $parent = $this->_getNode('required', $parent);
        $parent = $this->_getNode('php', $parent);
        $parent->addChild('min', $minVersion);
        $parent->addChild('max', $maxVersion);
        return $this;
    }
public function setDependencyPhpVersion ( $ minVersion , $ maxVersion ) { $ parent = $ this -> _packageXml -> dependencies ; $ parent = $ this -> _getNode ( 'required' , $ parent ) ; $ parent = $ this -> _getNode ( 'php' , $ parent ) ; $ parent -> addChild ( 'min' , $ minVersion ) ; $ parent -> addChild ( 'max' , $ maxVersion ) ; return $ this ; }
Set dependency from php version.

@param string $minVersion
@param string $maxVersion
@return Mage_Connect_Package
Set dependency from php version .