Composer API
Class

Composer\Repository\Pear\DependencyInfo

class DependencyInfo

PEAR package release dependency info

Methods

__construct(DependencyConstraint[] $requires, array $optionals)

DependencyConstraint[] getRequires()

array getOptionals()

Details

at line 29
public __construct(DependencyConstraint[] $requires, array $optionals)

Parameters

DependencyConstraint[] $requires list of requires/conflicts/replaces
array $optionals [groupName => DependencyConstraint[]] list of optional groups

at line 38
public DependencyConstraint[] getRequires()

Return Value

DependencyConstraint[] list of requires/conflicts/replaces

at line 46
public array getOptionals()

Return Value

array [groupName => DependencyConstraint[]] list of optional groups