Yaml

Provides a YAML serialization implementation.

Proxy implementation that will choose the best library based on availability.

Hierarchy

File

core/lib/Drupal/Component/Serialization/Yaml.php, line 10

Namespace

Drupal\Component\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.
doc_Drupal
2016-10-29 09:56:53
Comments
Leave a Comment

Please login to continue.