PEAR_PackageFileManager::detectDependencies

PEAR_PackageFileManager::detectDependencies() – use PHP_CompatInfo to auto-detect PHP and extension dependencies.

Synopsis

require_once 'PEAR/PackageFileManager.php';

void|PEAR_Error PEAR_PackageFileManager::detectDependencies ( )

Description

Use addDependency() to add package dependencies

Throws

throws PEAR_PACKAGEFILEMANAGER_RUN_SETOPTIONS

throws PEAR_PACKAGEFILEMANAGER_PHP_COMPAT_NOT_INSTALLED

throws PEAR_PACKAGEFILEMANAGER_NO_PHPCOMPATINFO

Note

This function can not be called statically.

Add an extension/role mapping to the role mapping option (Previous) ALWAYS use this to test output before overwriting your package.xml!! (Next)
Last updated: Wed, 23 Jul 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.