PHP Class Components_Component_Identify, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Afficher le fichier Open project: horde/horde Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Components_Config $config, array $actions, Components_Dependencies $dependencies ) Constructor.
setComponentInConfiguration ( ) : NULL. Inject the component selected based on the command arguments into the configuration.

Private Methods

Méthode Description
_containsPackageXml ( string $path ) : boolean Checks if the directory contains a package.xml file.
_determineComponent ( array $arguments ) : array Determine the requested component.
_isDirectory ( string $path ) : boolean Checks if the provided directory is a directory.
_isPackageXml ( string $path ) : boolean Checks if the file name is a package.xml file.

Method Details

__construct() public méthode

Constructor.
public __construct ( Components_Config $config, array $actions, Components_Dependencies $dependencies )
$config Components_Config The active configuration.
$actions array The list of available actions.
$dependencies Components_Dependencies The dependency handler.

setComponentInConfiguration() public méthode

Inject the component selected based on the command arguments into the configuration.
public setComponentInConfiguration ( ) : NULL.
Résultat NULL.