You are here

public function TestHttpKernel::__construct in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/http-kernel/Tests/TestHttpKernel.php \Symfony\Component\HttpKernel\Tests\TestHttpKernel::__construct()
  2. 8 vendor/symfony/http-kernel/Tests/HttpCache/TestHttpKernel.php \Symfony\Component\HttpKernel\Tests\HttpCache\TestHttpKernel::__construct()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Tests/TestHttpKernel.php \Symfony\Component\HttpKernel\Tests\TestHttpKernel::__construct()

Constructor.

Parameters

EventDispatcherInterface $dispatcher An EventDispatcherInterface instance:

ControllerResolverInterface $resolver A ControllerResolverInterface instance:

RequestStack $requestStack A stack for master/sub requests:

Overrides HttpKernel::__construct

File

vendor/symfony/http-kernel/Tests/TestHttpKernel.php, line 22

Class

TestHttpKernel

Namespace

Symfony\Component\HttpKernel\Tests

Code

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