public function __construct(array $options = array()) { // @TODO make this multipart parent::__construct($options); $this->getHeaders()->addHeader(Header\ContentType::fromString('Content-Type: text/html; charset=UTF-8')); $this->setEncoding('UTF-8'); $this->variables = new ViewVariables(); }
public function __construct(array $options = array()) { parent::__construct($options); $this->getHeaders()->addHeader(Header\ContentType::fromString('Content-Type: text/plain; charset=UTF-8')); $this->setEncoding('UTF-8'); }