public function setContentType($contentType) { $this->contentType = $contentType; $this->setHeader('Content-Type', $contentType . '; charset=' . $this->getCharset()); return $this; }