PHP Класс Ergo\Config\FileConfig

Наследование: implements Ergo\Config
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_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