class YamlStub
Same name in other branches
- 9 core/tests/Drupal/Tests/Component/Serialization/YamlTest.php \Drupal\Tests\Component\Serialization\YamlStub
Hierarchy
- class \Drupal\Component\Serialization\Yaml implements \Drupal\Component\Serialization\SerializationInterface
- class \Drupal\Tests\Component\Serialization\YamlStub extends \Drupal\Component\Serialization\Yaml
Expanded class hierarchy of YamlStub
File
-
core/
tests/ Drupal/ Tests/ Component/ Serialization/ YamlTest.php, line 140
Namespace
Drupal\Tests\Component\SerializationView source
class YamlStub extends Yaml {
public static function getSerializer() {
return '\\Drupal\\Tests\\Component\\Serialization\\YamlParserProxy';
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
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 |
YamlStub::getSerializer | public static | function | Determines which implementation to use for parsing YAML. | Overrides Yaml::getSerializer |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.