interface MockConfiguratorInterface in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php \Drupal\Tests\Component\DependencyInjection\MockConfiguratorInterface
- 9 core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php \Drupal\Tests\Component\DependencyInjection\MockConfiguratorInterface
Helper interface to test Container::get() with configurator.
@group DependencyInjection
Hierarchy
- interface \Drupal\Tests\Component\DependencyInjection\MockConfiguratorInterface
Expanded class hierarchy of MockConfiguratorInterface
All classes that implement MockConfiguratorInterface
File
- core/
tests/ Drupal/ Tests/ Component/ DependencyInjection/ ContainerTest.php, line 1020 - Contains \Drupal\Tests\Component\DependencyInjection\ContainerTest.
Namespace
Drupal\Tests\Component\DependencyInjectionView source
interface MockConfiguratorInterface {
/**
* Configures a service.
*
* @param object $service
* The service to configure.
*/
public function configureService($service);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MockConfiguratorInterface:: |
public | function | Configures a service. |