PHP 클래스 Fakerino\Configuration\FakerinoConf

저자: Nicola Pietroluongo ([email protected])
파일 보기 프로젝트 열기: fakerino/fakerino 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( array $conf = null )
get ( string $value ) : mixed Returns a configuration value.
loadConfiguration ( ) : array Loads the default configuration if it's not present a custom one.
toArray ( ) : array Returns the configuration in an array.

비공개 메소드들

메소드 설명
loadDefault ( ) : array Initializes the default values.

메소드 상세

__construct() 공개 메소드

public __construct ( array $conf = null )
$conf array

get() 공개 메소드

Returns a configuration value.
public get ( string $value ) : mixed
$value string
리턴 mixed

loadConfiguration() 공개 메소드

Loads the default configuration if it's not present a custom one.
public loadConfiguration ( ) : array
리턴 array

toArray() 공개 메소드

Returns the configuration in an array.
public toArray ( ) : array
리턴 array