Zend\Config\Writer\Ini
Synopsis
class Ini
extends AbstractWriter
{
- // members
- protected string $nestSeparator;
- protected bool $renderWithoutSections;
- // methods
- public self setNestSeparator()
- public string getNestSeparator()
- public Ini setRenderWithoutSectionsFlags()
- public bool shouldRenderWithoutSections()
- public string processConfig()
- protected string addBranch()
- protected string prepareValue()
- protected array sortRootElements()
- // Inherited methods from AbstractWriter
- public void toFile()
- public string toString()
- protected abstract string processConfig()
Hierarchy
Members
protected
- $nestSeparator
—
string
Separator for nesting levels of configuration data identifiers. - $renderWithoutSections
—
Zend\Config\Writer\bool
If true the INI string is rendered in the global namespace without sections.
Methods
protected
- addBranch() — Add a branch to an INI string recursively.
- prepareValue() — Prepare a value for INI.
- sortRootElements() — Root elements that are not assigned to any section needs to be on the top of config.
public
- getNestSeparator() — Get nest separator.
- processConfig() — processConfig(): defined by AbstractWriter.
- setNestSeparator() — Set nest separator.
- setRenderWithoutSectionsFlags() — Set if rendering should occur without sections or not.
- shouldRenderWithoutSections() — Return whether the writer should render without sections.
Inherited from Zend\Config\Writer\AbstractWriter
protected
public
- toFile() — toFile(): defined by Writer interface.
- toString() — toString(): defined by Writer interface.