You are here

public static function YamlStub::getSerializer in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Component/Serialization/YamlTest.php \Drupal\Tests\Component\Serialization\YamlStub::getSerializer()

Determines which implementation to use for parsing YAML.

Overrides Yaml::getSerializer

File

core/tests/Drupal/Tests/Component/Serialization/YamlTest.php, line 142

Class

YamlStub

Namespace

Drupal\Tests\Component\Serialization

Code

public static function getSerializer() {
  return '\\Drupal\\Tests\\Component\\Serialization\\YamlParserProxy';
}