public function ensureHeadersSent() { $this->ensureHttpHeaderSent(); $this->ensureContentTypeHeaderSent(); }