public static Yaml::decode($raw)
Decodes data from the serialization format.
Parameters
string $raw: The raw data string to decode.
Return value
mixed The decoded data.
Overrides SerializationInterface::decode
File
- core/lib/Drupal/Component/Serialization/Yaml.php, line 33
Class
- Yaml
- Provides a YAML serialization implementation.
Namespace
Drupal\Component\Serialization
Code
public static function decode($raw) { $serializer = static::getSerializer(); return $serializer::decode($raw); }
Please login to continue.