public function MockConfiguratorInterface::configureService in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php \Drupal\Tests\Component\DependencyInjection\MockConfiguratorInterface::configureService()
- 10 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 1031 - Contains \Drupal\Tests\Component\DependencyInjection\ContainerTest.
Class
- MockConfiguratorInterface
- Helper interface to test Container::get() with configurator.
Namespace
Drupal\Tests\Component\DependencyInjectionCode
public function configureService($service);