Beispiel #1
0
 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);
 }
Beispiel #2
0
 public function __construct()
 {
     parent::__construct(new EventDispatcher(), $this);
 }