PEAR_Dependency2::validatePearinstallerDependency

PEAR_Dependency2::validatePearinstallerDependency() – validatePearinstallerDependency

Synopsis

require_once '/Dependency2.php';

true|PEAR_Error|array PEAR_Dependency2::validatePearinstallerDependency ( array $dep )

Description

Validate the running PEAR version against the dependency. This dependency is designed to prevent PEAR versions incompatible with the current package.xml from attempting to install it. As with all dependency validation, true is returned on success, PEAR_Error on failure for required dependencies (and the PEAR installer dependency is required). If the soft, force or ignore-errors options are specified, an array containing the error message will be returned instead.

Parameter

mixed $dep

Throws

throws no exceptions thrown

Note

This function can not be called statically.

validatePackageUninstall (Previous) validatePhpDependency (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.