PHP Класс 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.
Автор: Gunnar Wrobel ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( Components_Config $config, array $actions, Components_Dependencies $dependencies ) Constructor.
setComponentInConfiguration ( ) : NULL. Inject the component selected based on the command arguments into the configuration.

Приватные методы

Метод Описание
_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.

Описание методов

__construct() публичный Метод

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() публичный Метод

Inject the component selected based on the command arguments into the configuration.
public setComponentInConfiguration ( ) : NULL.
Результат NULL.