Constructor
@api
EventDispatcherInterface $dispatcher An EventDispatcherInterface instance:
ControllerResolverInterface $resolver A ControllerResolverInterface instance:
Overrides HttpKernel::__construct
public function __construct() {
parent::__construct(new EventDispatcher(), $this);
}