void
PEAR_DependencyDB::dependsOn
(
array|PEAR_PackageFile_v2|PEAR_PackageFile_v2
$parent
,
array|PEAR_PackageFile_v2|PEAR_PackageFile_v2
$child
)
This method is the central method of DependencyDB. Through the dependency database, it is possible to determine whether any two packages share a dependency relationship independent of how tightly bound the two packages are. In other words, if package A depends on package B depends on package C, this method can be used to determine that package A indirectly depends on package C.
$parent
The parent package (as in package A in the example above)
This parameter, if an array, should be in format:
$child
The child package (as in package B or package C in the example above)
This parameter, if an array, should be in format:
throws no exceptions thrown
This function can not be called statically.