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.