Method | Description | |
---|---|---|
__construct ( array $dependency, Components_Component_Factory $factory ) | Constructor. | |
channelOrType ( ) : string | Return the package channel or the type description for the dependency. | |
getChannel ( ) : string | Return the package channel for the dependency | |
getComponent ( array $options = [] ) : Component_Component | Return the dependency in its component representation. | |
getDependencyInformation ( ) : array | Return the original dependency information. | |
getName ( ) : string | Return the package name for the dependency | |
isExtension ( ) : boolen | Is this a PHP extension dependency? | |
isHorde ( ) : boolen | Is the dependency a Horde dependency? | |
isPackage ( ) : boolen | Is this a package dependency? | |
isPearBase ( ) : boolen | Is the dependency the PEAR base package? | |
isPhp ( ) : boolen | Is this the PHP dependency? | |
isRequired ( ) : boolen | Is the dependency required? | |
key ( ) : string | Return the key for the dependency |
public __construct ( array $dependency, Components_Component_Factory $factory ) | ||
$dependency | array | The dependency information. |
$factory | Components_Component_Factory | Helper factory. |
public channelOrType ( ) : string | ||
return | string | The package channel. |
public getChannel ( ) : string | ||
return | string | The package channel. |
public getComponent ( array $options = [] ) : Component_Component | ||
$options | array | The options for resolving the component. |
return | Component_Component | The component. |
public getDependencyInformation ( ) : array | ||
return | array | The original dependency information. |
public isExtension ( ) : boolen | ||
return | boolen | True if it is a PHP extension dependency. |
public isHorde ( ) : boolen | ||
return | boolen | True if it is a Horde dependency. |
public isPackage ( ) : boolen | ||
return | boolen | True if the dependency is a package. |
public isPearBase ( ) : boolen | ||
return | boolen | True if it is the PEAR base package. |
public isPhp ( ) : boolen | ||
return | boolen | True if it is the PHP dependency. |
public isRequired ( ) : boolen | ||
return | boolen | True if the dependency is required. |