Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

_encodeYaml(
int $indent, array $data
)
:
string
Service function for encoding YAML
Name | Type | Description |
---|---|---|
$indent | int | Current indent level |
$data | array | Data to encode |
Type | Description |
---|---|
string |

encode(
array $data
)
:
string
Very dumb YAML encoder
Until we have Zend_Yaml...
Name | Type | Description |
---|---|---|
$data | array | YAML data |
Type | Description |
---|---|
string |

render(
)
:
string
Render a Zend_Config into a YAML config string.
Type | Description |
---|---|
string |

setYamlEncoder(
\callable $yamlEncoder
)
:
\Zend_Config_Yaml
Set callback for decoding YAML
Name | Type | Description |
---|---|---|
$yamlEncoder | \callable | the decoder to set |
Type | Description |
---|---|
\Zend_Config_Yaml |