You are here

class ErrorServiceTestServiceProvider in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/error_service_test/src/ErrorServiceTestServiceProvider.php \Drupal\error_service_test\ErrorServiceTestServiceProvider
  2. 9 core/modules/system/tests/modules/error_service_test/src/ErrorServiceTestServiceProvider.php \Drupal\error_service_test\ErrorServiceTestServiceProvider

Hierarchy

Expanded class hierarchy of ErrorServiceTestServiceProvider

File

core/modules/system/tests/modules/error_service_test/src/ErrorServiceTestServiceProvider.php, line 8

Namespace

Drupal\error_service_test
View 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

Namesort descending Modifiers Type Description Overrides
ErrorServiceTestServiceProvider::$containerBuilder public static property The in-situ container builder.
ErrorServiceTestServiceProvider::alter public function Modifies existing service definitions. Overrides ServiceModifierInterface::alter