You are here

public static function YamlStub::getSerializer in Drupal 8

Same name and namespace in other branches
  1. 9 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';
}