Method | Description | |
---|---|---|
__construct ( Components_Output $output ) | Constructor. | |
installTree ( Components_Pear_Environment $environment, Components_Component $component, array $options = [], string $reason = '' ) : null | Install a component with its dependencies into the environment. |
Method | Description | |
---|---|---|
_deletePrevious ( $key, $options, $previous ) | ||
_getPerComponentOptions ( mixed $component, array $options ) : array | Identify the per component options. | |
_installComponent ( Components_Pear_Environment $environment, Components_Component $component, array $options = [], string $reason = '' ) : null | Ensure that the component is available within the installation environment. | |
_installDependencies ( Components_Pear_Environment $environment, Components_Component $component, array $options = [], string $reason = '' ) : null | Install the dependencies of a component. |
public __construct ( Components_Output $output ) | ||
$output | Components_Output | The output handler. |
public installTree ( Components_Pear_Environment $environment, Components_Component $component, array $options = [], string $reason = '' ) : null | ||
$environment | Components_Pear_Environment | The environment we install into. |
$component | Components_Component | The component that should be installed. |
$options | array | Install options. |
$reason | string | Optional reason for adding the package. |
return | null |