public function MockConfiguratorInterface::configureService in Drupal 8
Same name and namespace in other branches
- 9 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 1028 - 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);