function DependencySerializationTestDummy::setContainer
phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn
Return value
void
File
-
core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ DependencySerializationTest.php, line 83
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.