Class PhpArray

Summary

Fully Qualified Name: Laminas\Config\Writer\PhpArray
Extends: AbstractWriter

Description

Methods

Name Description Defined By
getUseClassNameScalars() PhpArray
processConfig() processConfig(): defined by AbstractWriter. PhpArray
setUseBracketArraySyntax() Sets whether or not to use the PHP 5.4+ "[]" array syntax. PhpArray
setUseClassNameScalars() Sets whether or not to render resolvable FQN strings as scalars, using PHP 5.5+ class-keyword PhpArray
toFile() toFile(): defined by Writer interface. PhpArray
toString() toString(): defined by Writer interface. AbstractWriter

Method Details

getUseClassNameScalars()

Returns: bool

processConfig()

processConfig(): defined by AbstractWriter.

Parameter Name Type Description
$config array

Returns: string

setUseBracketArraySyntax()

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

Parameter Name Type Description
$value bool

Returns: self

setUseClassNameScalars()

Sets whether or not to render resolvable FQN strings as scalars, using PHP 5.5+ class-keyword

Parameter Name Type Description
$value bool

Returns: self

toFile()

toFile(): defined by Writer interface.

Parameter Name Type Description
$filename string
$config mixed
$exclusiveLock bool

Returns: void

toString()

toString(): defined by Writer interface.

Parameter Name Type Description
$config mixed

Returns: string

Top