function YamlParserProxy::encode

Same name in this branch
  1. 9 core/tests/Drupal/Tests/Core/Serialization/YamlTest.php \Drupal\Tests\Core\Serialization\YamlParserProxy::encode()
Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Serialization/YamlTest.php \Drupal\Tests\Core\Serialization\YamlParserProxy::encode()
  2. 8.9.x core/tests/Drupal/Tests/Component/Serialization/YamlTest.php \Drupal\Tests\Component\Serialization\YamlParserProxy::encode()

Overrides SerializationInterface::encode

File

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

Class

YamlParserProxy

Namespace

Drupal\Tests\Component\Serialization

Code

public static function encode($data) {
    return static::$mock->encode($data);
}

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