PHP Class Pyrech\ComposerChangelogs\Config\ConfigLocator

Afficher le fichier Open project: pyrech/composer-changelogs Class Usage Examples

Méthodes publiques

Свойство Type Description
$cache array

Méthodes publiques

Méthode Description
__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.

Private Methods

Méthode Description
locateGlobal ( string $key ) : boolean Search config in the global root package.
locateLocal ( string $key ) : boolean Search config in the local root package.

Method Details

__construct() public méthode

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

getConfig() public méthode

public getConfig ( string $key ) : array
$key string
Résultat array

getPath() public méthode

public getPath ( string $key ) : string | null
$key string
Résultat string | null mixed

locate() public méthode

Try to locate where is the config for the given key.
public locate ( string $key ) : boolean
$key string
Résultat boolean

Property Details

$cache public_oe property

public array $cache
Résultat array