public function __construct(Response $parentResponse = null) { $this->headers = new Headers(); $this->headers->set('Content-Type', 'text/html; charset=' . $this->charset); $this->parentResponse = $parentResponse; }