PHP 클래스 Yiinitializr\Helpers\Config

부터: 1.0
저자: Antonio Ramirez ([email protected])
파일 보기 프로젝트 열기: 2amigos/yiinitializr 1 사용 예제들

공개 메소드들

메소드 설명
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