package Default
inherited_from \Zend\Config\Writer\AbstractWriter

 Methods

processConfig(): defined by AbstractWriter.

processConfig(array $config) : string
inherited_from \Zend\Config\Writer\AbstractWriter::processConfig()

Parameters

$config

array

Returns

string

Sets whether or not to use the PHP 5.4+ "[]" array syntax.

setUseBracketArraySyntax(boolean $value) : \Zend\Config\Writer\PhpArray
fluent This method is part of a fluent interface and will return the same instance

Parameters

$value

boolean

Returns

\Zend\Config\Writer\PhpArray

toFile(): defined by Writer interface.

toFile(string $filename, mixed $config, boolean $exclusiveLock = true) : void
see
inherited_from \Zend\Config\Writer\AbstractWriter::toFile()

Parameters

$filename

string

$config

mixed

$exclusiveLock

boolean

Exceptions

\Zend\Config\Exception\InvalidArgumentException
\Zend\Config\Exception\RuntimeException

toFile(): defined by Writer interface.

toFile(string $filename, mixed $config, boolean $exclusiveLock = true) : void
Inherited
see
inherited_from \Zend\Config\Writer\WriterInterface::toFile()

Parameters

$filename

string

$config

mixed

$exclusiveLock

boolean

Exceptions

\Zend\Config\Exception\InvalidArgumentException
\Zend\Config\Exception\RuntimeException

toString(): defined by Writer interface.

toString(mixed $config) : string
Inherited
see
inherited_from \Zend\Config\Writer\WriterInterface::toString()

Parameters

$config

mixed

Exceptions

\Zend\Config\Exception\InvalidArgumentException

Returns

string

processConfig()

processConfig(array $config) : string
Inherited

Parameters

$config

array

Returns

string

Recursively processes a PHP config array structure into a readable format.

processIndented(array $config, array $arraySyntax, integer $indentLevel = 1) : string

Parameters

$config

array

$arraySyntax

array

$indentLevel

integer

Returns

string

 Properties

 

$useBracketArraySyntax

$useBracketArraySyntax : boolean

Default

false

 Constants

 

INDENT_STRING

INDENT_STRING = '    ' : string