Default serialization for YAML using the Symfony component.
Hierarchy
- class \Drupal\Component\Serialization\YamlSymfony implements SerializationInterface
File
- core/lib/Drupal/Component/Serialization/YamlSymfony.php, line 12
Namespace
Drupal\Component\Serialization
Members
Name | Modifiers | Type | Description |
---|---|---|---|
YamlSymfony::decode | public static | function | Decodes data from the serialization format. Overrides SerializationInterface::decode |
YamlSymfony::encode | public static | function | Encodes data into the serialization format. Overrides SerializationInterface::encode |
YamlSymfony::getFileExtension | public static | function | Gets the file extension for this serialization format. Overrides SerializationInterface::getFileExtension |
Please login to continue.