public function setContentType($type = 'text/plain', $charset = 'utf-8') { $this->contentType = array($type, $charset); return $this; }