true|PEAR_Error|array
PEAR_Dependency2::validateDependency1
(
array
$dep
,
array
$params = array()
)
Validate a package.xml version 1.0 <dep> dependency.
$dep
The contents of the <dep> tag as parsed from xml
$params
The list of PEAR_Downloader_Package objects that will be installed.
throws no exceptions thrown
This function can not be called statically.