PHP Class Ergo\Config\FileConfig

Inheritance: implements Ergo\Config
Afficher le fichier Open project: 99designs/ergo

Protected Properties

Свойство Type Description
$_data

Méthodes publiques

Méthode Description
__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

Method Details

__construct() public méthode

public __construct ( $files = [] )

exists() public méthode

* (non-phpdoc)
See also: Ergo\Config::exists
public exists ( $key )

get() public méthode

* (non-phpdoc)
See also: Ergo\Config::get
public get ( $key )

getIterator() public méthode

* (non-phpdoc)
See also: IteratorAggregate::getIterator()
public getIterator ( )

keys() public méthode

* (non-phpdoc)
See also: Ergo\Config::getKeys
public keys ( )

loadFile() public méthode

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

set() public méthode

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

toArrayConfig() public méthode

Converts the config to an ArrayConfig, which is mutable
public toArrayConfig ( ) : ArrayConfig
Résultat ArrayConfig

Property Details

$_data protected_oe property

protected $_data