public static function YamlParserProxy::setMock in Drupal 9
Same name in this branch
- 9 core/tests/Drupal/Tests/Core/Serialization/YamlTest.php \Drupal\Tests\Core\Serialization\YamlParserProxy::setMock()
- 9 core/tests/Drupal/Tests/Component/Serialization/YamlTest.php \Drupal\Tests\Component\Serialization\YamlParserProxy::setMock()
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Component/Serialization/YamlTest.php \Drupal\Tests\Component\Serialization\YamlParserProxy::setMock()
2 calls to YamlParserProxy::setMock()
- YamlTest::setUp in core/
tests/ Drupal/ Tests/ Component/ Serialization/ YamlTest.php - YamlTest::tearDown in core/
tests/ Drupal/ Tests/ Component/ Serialization/ YamlTest.php
File
- core/
tests/ Drupal/ Tests/ Component/ Serialization/ YamlTest.php, line 155
Class
Namespace
Drupal\Tests\Component\SerializationCode
public static function setMock($mock) {
static::$mock = $mock;
}