class IniAdapter extends Object implements IAdapter

Reading and generating INI files.

Constants

internal INHERITING_SEPARATOR

internal KEY_SEPARATOR

internal ESCAPED_KEY_SEPARATOR

internal RAW_SECTION

Methods

array
load($file)

Reads configuration from INI file.

string
dump(array $data)

Generates configuration in INI format.

Details

at line 32
array load($file)

Reads configuration from INI file.

Parameters

$file

Return Value

array

Exceptions

InvalidStateException

at line 94
string dump(array $data)

Generates configuration in INI format.

Parameters

array $data

Return Value

string