INI config reader.
Methods
fromFile(): defined by Reader interface.
fromFile(string $filename) : array
see |
\Zend\Config\Reader\ReaderInterface::fromFile() |
Parameters
$filename
string
Exceptions
Returns
array
fromString(): defined by Reader interface.
fromString(string $string) : array | bool
Parameters
$string
string
Exceptions
Returns
array
bool
Get nest separator.
getNestSeparator() : string
Set nest separator.
setNestSeparator(string $separator) : \Zend\Config\Reader\self
Parameters
$separator
string
Returns
\Zend\Config\Reader\self
Process data from the parsed ini file.
process(array $data) : array
Parameters
$data
array
Returns
array
Process a key.
processKey(string $key, string $value, array $config) : array
Parameters
$key
string
$value
string
$config
array
Exceptions
Returns
array
Process a section.
processSection(array $section) : array
Parameters
$section
array
Returns
array
Process a nested section
buildNestedSection(array $sections, mixed $value) : array
Parameters
$sections
array
$value
mixed
Returns
array
Properties
Directory of the file to process.
$directory : string
Separator for nesting levels of configuration data identifiers.
$nestSeparator : string