class ErrorServiceTestServiceProvider in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/error_service_test/src/ErrorServiceTestServiceProvider.php \Drupal\error_service_test\ErrorServiceTestServiceProvider
Hierarchy
- class \Drupal\error_service_test\ErrorServiceTestServiceProvider implements ServiceModifierInterface
Expanded class hierarchy of ErrorServiceTestServiceProvider
File
- core/
modules/ system/ tests/ modules/ error_service_test/ src/ ErrorServiceTestServiceProvider.php, line 8
Namespace
Drupal\error_service_testView source
class ErrorServiceTestServiceProvider implements ServiceModifierInterface {
/**
* The in-situ container builder.
*
* @var \Drupal\Core\DependencyInjection\ContainerBuilder
*/
public static $containerBuilder;
/**
* {@inheritdoc}
*/
public function alter(ContainerBuilder $container) {
static::$containerBuilder = $container;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ErrorServiceTestServiceProvider:: |
public static | property | The in-situ container builder. | |
ErrorServiceTestServiceProvider:: |
public | function |
Modifies existing service definitions. Overrides ServiceModifierInterface:: |