Fully Qualified Name: | Zend\Config\Writer\Yaml |
Extends: | AbstractWriter |
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 |
Constructor
Parameter Name | Type | Description |
---|---|---|
$yamlEncoder | callable|string|null |
Returns:
Get callback for decoding YAML
Returns: callable
processConfig(): defined by AbstractWriter.
Parameter Name | Type | Description |
---|---|---|
$config | array |
Returns: string
Set callback for decoding YAML
Parameter Name | Type | Description |
---|---|---|
$yamlEncoder | callable | the |
Returns: self
toFile(): defined by Writer interface.
Parameter Name | Type | Description |
---|---|---|
$filename | string | |
$config | mixed | |
$exclusiveLock | bool |
Returns: void
toString(): defined by Writer interface.
Parameter Name | Type | Description |
---|---|---|
$config | mixed |
Returns: string