PEAR_Registry::setPackageDep

PEAR_Registry::setPackageDep()

PEAR_Registry::setPackageDep() -- Update or insert dependencies of a Package

Description

Update or insert a the dependencies of a package, prechecking that the package won't break any dependency in the process. (Dependencies of type 'pkg' only.

Parameter

string $package

Package name

string $new_version

Version of the Package

array $rel_deps

Package dependencies

Return value

mixed - TRUE if no dependencies found; or array with names of missing or outdated Packages

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.