PHP Класс Components_Component_Dependency, horde

Copyright 2010-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 ( 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

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

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

Constructor.
public __construct ( array $dependency, Components_Component_Factory $factory )
$dependency array The dependency information.
$factory Components_Component_Factory Helper factory.

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

Return the package channel or the type description for the dependency.
public channelOrType ( ) : string
Результат string The package channel.

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

Return the package channel for the dependency
public getChannel ( ) : string
Результат string The package channel.

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

Return the dependency in its component representation.
public getComponent ( array $options = [] ) : Component_Component
$options array The options for resolving the component.
Результат Component_Component The component.

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

Return the original dependency information.
public getDependencyInformation ( ) : array
Результат array The original dependency information.

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

Return the package name for the dependency
public getName ( ) : string
Результат string The package name.

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

Is this a PHP extension dependency?
public isExtension ( ) : boolen
Результат boolen True if it is a PHP extension dependency.

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

Is the dependency a Horde dependency?
public isHorde ( ) : boolen
Результат boolen True if it is a Horde dependency.

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

Is this a package dependency?
public isPackage ( ) : boolen
Результат boolen True if the dependency is a package.

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

Is the dependency the PEAR base package?
public isPearBase ( ) : boolen
Результат boolen True if it is the PEAR base package.

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

Is this the PHP dependency?
public isPhp ( ) : boolen
Результат boolen True if it is the PHP dependency.

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

Is the dependency required?
public isRequired ( ) : boolen
Результат boolen True if the dependency is required.

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

Return the key for the dependency
public key ( ) : string
Результат string The uniqe key for this dependency.