Class Yaml

Summary

Fully Qualified Name: Zend\Config\Writer\Yaml
Extends: AbstractWriter

Description

Methods

Name Description Defined By
__construct() Constructor Yaml
getYamlEncoder() Get callback for decoding YAML Yaml
processConfig() processConfig(): defined by AbstractWriter. Yaml
setYamlEncoder() Set callback for decoding YAML Yaml
toFile() toFile(): defined by Writer interface. AbstractWriter
toString() toString(): defined by Writer interface. AbstractWriter

Method Details

__construct()

Constructor

Parameter Name Type Description
$yamlEncoder callable|string|null

Returns:

getYamlEncoder()

Get callback for decoding YAML

Returns: callable

processConfig()

processConfig(): defined by AbstractWriter.

Parameter Name Type Description
$config array

Returns: string

setYamlEncoder()

Set callback for decoding YAML

Parameter Name Type Description
$yamlEncoder callable the

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