Zend\Config\Writer\PhpArray
Synopsis
class PhpArray
extends AbstractWriter
{
- // constants
- const INDENT_STRING = ' ';
- // members
- protected bool $useBracketArraySyntax;
- // methods
- public string processConfig()
- public self setUseBracketArraySyntax()
- public void toFile()
- protected string processIndented()
- // Inherited methods from AbstractWriter
- public void toFile()
- public string toString()
- protected abstract string processConfig()
Hierarchy
Constants
Name | Value |
---|---|
INDENT_STRING | ' ' |
Members
protected
- $useBracketArraySyntax — Zend\Config\Writer\bool
Methods
protected
- processIndented() — Recursively processes a PHP config array structure into a readable format.
public
- processConfig() — processConfig(): defined by AbstractWriter.
- setUseBracketArraySyntax() — Sets whether or not to use the PHP 5.4+ "[]" array syntax.
- toFile() — toFile(): defined by Writer interface.
Inherited from Zend\Config\Writer\AbstractWriter
protected
public
- toFile() — toFile(): defined by Writer interface.
- toString() — toString(): defined by Writer interface.