public function flushWriter() { if ($this->_writer) { $this->Response->write($this->_writer->flush()); } }