public function TestHttpKernel::__construct

Same name in this branch
  1. 9.x drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/TestHttpKernel.php \Symfony\Component\HttpKernel\Tests\TestHttpKernel::__construct()
  2. 9.x drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/HttpCache/TestHttpKernel.php \Symfony\Component\HttpKernel\Tests\HttpCache\TestHttpKernel::__construct()

Constructor

@api

Parameters

EventDispatcherInterface $dispatcher An EventDispatcherInterface instance:

ControllerResolverInterface $resolver A ControllerResolverInterface instance:

Overrides HttpKernel::__construct

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/TestHttpKernel.php, line 22

Class

TestHttpKernel

Namespace

Symfony\Component\HttpKernel\Tests

Code

public function __construct() {
  parent::__construct(new EventDispatcher(), $this);
}