public function DependencySerializationTestDummy::setContainer in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/DependencyInjection/DependencySerializationTest.php \Drupal\Tests\Core\DependencyInjection\DependencySerializationTestDummy::setContainer()
- 9 core/tests/Drupal/Tests/Core/DependencyInjection/DependencySerializationTest.php \Drupal\Tests\Core\DependencyInjection\DependencySerializationTestDummy::setContainer()
File
- core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ DependencySerializationTest.php, line 106 - Contains \Drupal\Tests\Core\DependencyInjection\DependencySerializationTest.
Class
- DependencySerializationTestDummy
- Defines a test class which has a single service as dependency.
Namespace
Drupal\Tests\Core\DependencyInjectionCode
public function setContainer(ContainerInterface $container = NULL) {
$this->container = $container;
}