function YamlStub::getSerializer

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

Overrides Yaml::getSerializer

File

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

Class

YamlStub

Namespace

Drupal\Tests\Component\Serialization

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.