public function TestHttpKernel::__construct in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/symfony/http-kernel/Tests/TestHttpKernel.php \Symfony\Component\HttpKernel\Tests\TestHttpKernel::__construct()
- 8.0 vendor/symfony/http-kernel/Tests/HttpCache/TestHttpKernel.php \Symfony\Component\HttpKernel\Tests\HttpCache\TestHttpKernel::__construct()
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/Tests/HttpCache/TestHttpKernel.php \Symfony\Component\HttpKernel\Tests\HttpCache\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/ HttpCache/ TestHttpKernel.php, line 31
Class
Namespace
Symfony\Component\HttpKernel\Tests\HttpCacheCode
public function __construct($body, $status, $headers, \Closure $customizer = null) {
$this->body = $body;
$this->status = $status;
$this->headers = $headers;
$this->customizer = $customizer;
parent::__construct(new EventDispatcher(), $this);
}