PHP Class PHPComposter\PHPComposter\Paths

This static class generates and distributes all the paths used by PHP Composter.
Since: 0.1.0
Author: Alain Schlesser ([email protected])
Afficher le fichier Open project: php-composter/php-composter Class Usage Examples

Protected Properties

Свойство Type Description
$paths array Internal storage of all required paths.

Méthodes publiques

Méthode Description
getPath ( string $key ) : string Get a specific path by key.

Méthodes protégées

Méthode Description
initPaths ( ) Initialize the paths.

Method Details

getPath() public static méthode

Get a specific path by key.
Since: 0.1.0
public static getPath ( string $key ) : string
$key string Key of the path to retrieve.
Résultat string Path associated with the key. Empty string if not found.

initPaths() protected static méthode

Initialize the paths.
Since: 0.1.0
protected static initPaths ( )

Property Details

$paths protected_oe static_oe property

Internal storage of all required paths.
Since: 0.1.0
protected static array $paths
Résultat array