function DrupalKernelRequestStackTest::register
File
-
core/
tests/ Drupal/ KernelTests/ Core/ DrupalKernel/ DrupalKernelRequestStackTest.php, line 49
Class
- DrupalKernelRequestStackTest
- Tests the usage of the request stack as part of request processing.
Namespace
Drupal\KernelTests\Core\DrupalKernelCode
public function register(ContainerBuilder $container) : void {
parent::register($container);
$this->container
->set(self::class, $this);
$container->getDefinition(self::class)
->addTag('event_subscriber');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.