PEAR_Dependency2::validateSubpackageDependency

PEAR_Dependency2::validateSubpackageDependency() – validateSubpackageDependency

Synopsis

require_once '/Dependency2.php';

array|true|PEAR_Error PEAR_Dependency2::validateSubpackageDependency ( array $dep , bool $required , array $params )

Description

Validate a subpackage-style dependency. This is identical to a package dependency from a validation perspective, and so documentation for validatePackageDependency() should be referenced for details.

Parameter

array $dep

dependency array as defined by package.xml 2.0

boolean $required

whether this is a required or optional dependency

array $params

array of PEAR_Downloader_Package objects representing packages to be downloaded that can be used to validate dependencies

Throws

throws no exceptions thrown

Note

This function can not be called statically.

validatePhpDependency (Previous) PEAR_DependencyDB (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.