src/PEAR/DependencyDB.php
function dependsOn($parent, $child)
    {
        $c = array();
        $this->_getDepDB();
        return $this->_dependsOn($parent, $child, $c);
    }
function dependsOn($parent, $child)
    {
        $c = array();
        $this->_getDepDB();
        return $this->_dependsOn($parent, $child, $c);
    }
Determine whether $parent depends on $child, near or deep
@param array|PEAR_PackageFile_v2|PEAR_PackageFile_v2
@param array|PEAR_PackageFile_v2|PEAR_PackageFile_v2