function MockContainerAware::setContainer
Same name in this branch
- 10 core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php \Drupal\Tests\Core\Utility\MockContainerAware::setContainer()
Sets the service container.
File
-
core/
tests/ Drupal/ Tests/ Core/ Controller/ ControllerResolverTest.php, line 245
Class
Namespace
Drupal\Tests\Core\ControllerCode
public function setContainer(?ContainerInterface $container) : void {
$this->container = $container;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.