PHP Класс Yiinitializr\Helpers\Config

С версии: 1.0
Автор: Antonio Ramirez ([email protected])
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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

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

createEnvironmentLockFile() публичный статический Метод

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

getConfigurationDirectoryPath() публичный статический Метод

Returns the configuration directory path
public static getConfigurationDirectoryPath ( ) : string
Результат string

getEnvironmentLockFilePath() публичный статический Метод

Returns the environment lock file path
public static getEnvironmentLockFilePath ( ) : string
Результат string

settings() публичный статический Метод

Reads the configuration settings from the file
public static settings ( ) : array | mixed
Результат array | mixed

value() публичный статический Метод

Returns a value of the array
public static value ( $value ) : mixed | null
$value
Результат mixed | null | null if no key is found