public function setDependencyPhpExtensions($extensions)
    {
        foreach($extensions as $_extension) {
            $this->addDependencyExtension(
                $_extension['name'],
                $_extension['min_version'],
                $_extension['max_version']
            );
        }
        return $this;
    }
public function setDependencyPhpExtensions($extensions)
    {
        foreach($extensions as $_extension) {
            $this->addDependencyExtension(
                $_extension['name'],
                $_extension['min_version'],
                $_extension['max_version']
            );
        }
        return $this;
    }
public function setDependencyPhpExtensions ( $ extensions ) { foreach ( $ extensions as $ _extension ) { $ this -> addDependencyExtension ( $ _extension [ 'name' ] , $ _extension [ 'min_version' ] , $ _extension [ 'max_version' ] ) ; } return $ this ; }
Set dependency from php extensions.

$extension has next view:
array('curl', 'mysql')

@param array|string $extensions
@return Mage_Connect_Package
Set dependency from php extensions .