function MockConfiguratorInterface::configureService
Same name in other branches
- 9 core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php \Drupal\Tests\Component\DependencyInjection\MockConfiguratorInterface::configureService()
- 8.9.x core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php \Drupal\Tests\Component\DependencyInjection\MockConfiguratorInterface::configureService()
- 11.x core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php \Drupal\Tests\Component\DependencyInjection\MockConfiguratorInterface::configureService()
Configures a service.
Parameters
object $service: The service to configure.
File
-
core/
tests/ Drupal/ Tests/ Component/ DependencyInjection/ ContainerTest.php, line 1126
Class
- MockConfiguratorInterface
- Helper interface to test Container::get() with configurator.
Namespace
Drupal\Tests\Component\DependencyInjectionCode
public function configureService($service);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.