Provides a YAML serialization implementation.
Allow settings to override the YAML implementation resolution.
Hierarchy
- class \Drupal\Component\Serialization\Yaml implements SerializationInterface
- class \Drupal\Core\Serialization\Yaml
File
- core/lib/Drupal/Core/Serialization/Yaml.php, line 13
Namespace
Drupal\Core\Serialization
Members
Name | Modifiers | Type | Description |
---|---|---|---|
Yaml::$serializer | protected static | property | The YAML implementation to use. |
Yaml::decode | public static | function | Decodes data from the serialization format. Overrides SerializationInterface::decode |
Yaml::encode | public static | function | Encodes data into the serialization format. Overrides SerializationInterface::encode |
Yaml::getFileExtension | public static | function | Gets the file extension for this serialization format. Overrides SerializationInterface::getFileExtension |
Yaml::getSerializer | protected static | function | Determines which implementation to use for parsing YAML. Overrides Yaml::getSerializer |
Please login to continue.