PHP Class Yiinitializr\Helpers\Config

Since: 1.0
Author: Antonio Ramirez ([email protected])
Afficher le fichier Open project: 2amigos/yiinitializr Class Usage Examples

Méthodes publiques

Méthode Description
createEnvironmentLockFile ( string $content = '' )
getConfigurationDirectoryPath ( ) : string Returns the configuration directory path
getEnvironmentLockFilePath ( ) : string Returns the environment lock file path
settings ( ) : array | mixed Reads the configuration settings from the file
value ( $value ) : mixed | null Returns a value of the array

Method Details

createEnvironmentLockFile() public static méthode

public static createEnvironmentLockFile ( string $content = '' )
$content string

getConfigurationDirectoryPath() public static méthode

Returns the configuration directory path
public static getConfigurationDirectoryPath ( ) : string
Résultat string

getEnvironmentLockFilePath() public static méthode

Returns the environment lock file path
public static getEnvironmentLockFilePath ( ) : string
Résultat string

settings() public static méthode

Reads the configuration settings from the file
public static settings ( ) : array | mixed
Résultat array | mixed

value() public static méthode

Returns a value of the array
public static value ( $value ) : mixed | null
$value
Résultat mixed | null | null if no key is found