class ErrorServiceTestServiceProvider

Same name in other branches
  1. 9 core/modules/system/tests/modules/error_service_test/src/ErrorServiceTestServiceProvider.php \Drupal\error_service_test\ErrorServiceTestServiceProvider
  2. 8.9.x core/modules/system/tests/modules/error_service_test/src/ErrorServiceTestServiceProvider.php \Drupal\error_service_test\ErrorServiceTestServiceProvider
  3. 10 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 10

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

Title Sort descending Modifiers Object type Summary Overriden Title
ErrorServiceTestServiceProvider::$containerBuilder public static property The in-situ container builder.
ErrorServiceTestServiceProvider::alter public function Overrides ServiceModifierInterface::alter

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.