function MockContainerAware::setContainer
Same name in this branch
- 10 core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php \Drupal\Tests\Core\Controller\MockContainerAware::setContainer()
Sets the service container.
File
-
core/
tests/ Drupal/ Tests/ Core/ Utility/ CallableResolverTest.php, line 264
Class
Namespace
Drupal\Tests\Core\UtilityCode
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.