PEAR_DependencyDB::installPackage

PEAR_DependencyDB::installPackage()

PEAR_DependencyDB::installPackage()  -- Register dependencies of a package that is being installed or upgraded

Description

This method is used by the registry when a package is installed or upgraded to register the package's dependencies in the dependency database.

Parameter

PEAR_PackageFile_v2|PEAR_PackageFile_v2 &$package

This parameter, if an array, should be in format:

<?php
array(
  'package' => 'packagename',
  'channel' => 'channelname'
);
?>

Throws

throws no exceptions thrown

Note

This function can not be called statically.

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