class YamlStub

Hierarchy

Expanded class hierarchy of YamlStub

File

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

Namespace

Drupal\Tests\Component\Serialization
View 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
Yaml::encode public static function
Yaml::getFileExtension public static function
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.