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])
显示文件 Open project: php-composter/php-composter Class Usage Examples

Protected Properties

Property Type Description
$paths array Internal storage of all required paths.

Public Methods

Method Description
getPath ( string $key ) : string Get a specific path by key.

Protected Methods

Method Description
initPaths ( ) Initialize the paths.

Method Details

getPath() public static method

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

initPaths() protected static method

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
return array