Yaml
class Yaml extends Yaml (View source)
Provides a YAML serialization implementation.
Allow settings to override the YAML implementation resolution.
Properties
| static protected SerializationInterface | $serializer | The YAML implementation to use. |
from Yaml |
Methods
static
getSerializer()
Determines which implementation to use for parsing YAML.
Details
in
Yaml at line 22
static string
encode(mixed $data)
Encodes data into the serialization format.
in
Yaml at line 33
static mixed
decode(string $raw)
Decodes data from the serialization format.
in
Yaml at line 41
static string
getFileExtension()
Gets the file extension for this serialization format.
static protected
getSerializer()
Determines which implementation to use for parsing YAML.