PEAR Manual
Prev |  | Next

# constructor PEAR_Dependency2::PEAR_Dependency2()

constructor PEAR_Dependency2::PEAR_Dependency2() -- PEAR_Dependency2

## Synopsis

    require_once '/Dependency2.php';

``void constructor PEAR_Dependency2::PEAR_Dependency2` (PEAR_Config &$config, array $installoptions, array $package, int [$state = PEAR_VALIDATE_INSTALLING])`

## Description

This package is not documented yet.

## Parameter

PEAR_Config `&$config`

  Current configuration object.

array `$installoptions`

  installation options

array `$package`

  The current package. For installation dependencies, this is the package that contains dependencies. For uninstallation dependencies, this is the package that is going to be uninstalled.

  format of PEAR_Registry::parsedPackageName()

integer `$state`

  installation state (one of PEAR_VALIDATE_*)

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
Class Summary PEAR_Dependency2 | Up | PEAR_Dependency2::normalizeDep()