class YamlStub in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Component/Serialization/YamlTest.php \Drupal\Tests\Component\Serialization\YamlStub
- 10 core/tests/Drupal/Tests/Component/Serialization/YamlTest.php \Drupal\Tests\Component\Serialization\YamlStub
Hierarchy
- class \Drupal\Component\Serialization\Yaml implements SerializationInterface
- class \Drupal\Tests\Component\Serialization\YamlStub
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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Yaml:: |
protected static | property | The YAML implementation to use. | |
Yaml:: |
public static | function |
Decodes data from the serialization format. Overrides SerializationInterface:: |
|
Yaml:: |
public static | function |
Encodes data into the serialization format. Overrides SerializationInterface:: |
|
Yaml:: |
public static | function |
Gets the file extension for this serialization format. Overrides SerializationInterface:: |
|
YamlStub:: |
public static | function |
Determines which implementation to use for parsing YAML. Overrides Yaml:: |