PHP 클래스 Ergo\Config\FileConfig

상속: implements Ergo\Config
파일 보기 프로젝트 열기: 99designs/ergo

보호된 프로퍼티들

프로퍼티 타입 설명
$_data

공개 메소드들

메소드 설명
__construct ( $files = [] )
exists ( $key ) * (non-phpdoc)
get ( $key ) * (non-phpdoc)
getIterator ( ) * (non-phpdoc)
keys ( ) * (non-phpdoc)
loadFile ( $file, $optional = false, $varname = false, $recursive = false ) Loads a config file and merges its contents with the previously loaded settings
set ( string $key, mixed $value )
toArrayConfig ( ) : ArrayConfig Converts the config to an ArrayConfig, which is mutable

메소드 상세

__construct() 공개 메소드

public __construct ( $files = [] )

exists() 공개 메소드

* (non-phpdoc)
또한 보기: Ergo\Config::exists
public exists ( $key )

get() 공개 메소드

* (non-phpdoc)
또한 보기: Ergo\Config::get
public get ( $key )

getIterator() 공개 메소드

* (non-phpdoc)
또한 보기: IteratorAggregate::getIterator()
public getIterator ( )

keys() 공개 메소드

* (non-phpdoc)
또한 보기: Ergo\Config::getKeys
public keys ( )

loadFile() 공개 메소드

Loads a config file and merges its contents with the previously loaded settings
public loadFile ( $file, $optional = false, $varname = false, $recursive = false )

set() 공개 메소드

public set ( string $key, mixed $value )
$key string
$value mixed

toArrayConfig() 공개 메소드

Converts the config to an ArrayConfig, which is mutable
public toArrayConfig ( ) : ArrayConfig
리턴 ArrayConfig

프로퍼티 상세

$_data 보호되어 있는 프로퍼티

protected $_data