PHP Класс Pyrech\ComposerChangelogs\Config\ConfigLocator

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$cache array

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

Метод Описание
__construct ( Composer\Composer $composer )
getConfig ( string $key ) : array
getPath ( string $key ) : string | null
locate ( string $key ) : boolean Try to locate where is the config for the given key.

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

Метод Описание
locateGlobal ( string $key ) : boolean Search config in the global root package.
locateLocal ( string $key ) : boolean Search config in the local root package.

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

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

public __construct ( Composer\Composer $composer )
$composer Composer\Composer

getConfig() публичный метод

public getConfig ( string $key ) : array
$key string
Результат array

getPath() публичный метод

public getPath ( string $key ) : string | null
$key string
Результат string | null mixed

locate() публичный метод

Try to locate where is the config for the given key.
public locate ( string $key ) : boolean
$key string
Результат boolean

Описание свойств

$cache публичное свойство

public array $cache
Результат array