Class Ini

Summary

Fully Qualified Name: Laminas\Config\Reader\Ini
Implements: ReaderInterface

Description

INI config reader.

Methods

Name Description Defined By
fromFile() fromFile(): defined by Reader interface. Ini
fromString() fromString(): defined by Reader interface. Ini
getNestSeparator() Get nest separator. Ini
getProcessSections() Get if sections should be processed When sections are not processed,section names are stripped and section values are merged Ini
setNestSeparator() Set nest separator. Ini
setProcessSections() Marks whether sections should be processed. Ini

Method Details

fromFile()

fromFile(): defined by Reader interface.

Parameter Name Type Description
$filename string

Returns: array

fromString()

fromString(): defined by Reader interface.

Parameter Name Type Description
$string string

Returns: array|bool

getNestSeparator()

Get nest separator.

Returns: string

getProcessSections()

Get if sections should be processed When sections are not processed,section names are stripped and section values are merged

Returns: bool

setNestSeparator()

Set nest separator.

Parameter Name Type Description
$separator string

Returns: self

setProcessSections()

Marks whether sections should be processed.

When sections are not processed,section names are stripped and section values are merged

Parameter Name Type Description
$processSections bool

Returns: $this

Top