public function __construct($body, $status, $headers, \Closure $customizer = null) { $this->body = $body; $this->status = $status; $this->headers = $headers; $this->customizer = $customizer; $this->called = false; parent::__construct(new EventDispatcher(), $this); }
public function __construct() { parent::__construct(new EventDispatcher(), $this); }