Constructor
@api
EventDispatcherInterface $dispatcher An EventDispatcherInterface instance:
ControllerResolverInterface $resolver A ControllerResolverInterface instance:
Overrides HttpKernel::__construct
public function __construct($body, $status, $headers, \Closure $customizer = null) {
$this->body = $body;
$this->status = $status;
$this->headers = $headers;
$this->customizer = $customizer;
$this->called = false;
$this->catch = false;
parent::__construct(new EventDispatcher(), $this);
}