Fully Qualified Name: | Zend\Config\Reader\Yaml |
Implements: | ReaderInterface |
YAML config reader.
Name | Description | Defined By |
---|---|---|
__construct() | Constructor | Yaml |
fromFile() | fromFile(): defined by Reader interface. | Yaml |
fromString() | fromString(): defined by Reader interface. | Yaml |
getYamlDecoder() | Get callback for decoding YAML | Yaml |
setYamlDecoder() | Set callback for decoding YAML | Yaml |
Constructor
Parameter Name | Type | Description |
---|---|---|
$yamlDecoder | callable |
Returns:
fromFile(): defined by Reader interface.
Parameter Name | Type | Description |
---|---|---|
$filename | string |
Returns: array
fromString(): defined by Reader interface.
Parameter Name | Type | Description |
---|---|---|
$string | string |
Returns: array|bool
Get callback for decoding YAML
Returns: callable
Set callback for decoding YAML
Parameter Name | Type | Description |
---|---|---|
$yamlDecoder | string|callable | the |
Returns: self