/** * Output file contents * * @return void */ public function output() { $handle = $this->_getHandle(); $this->_session->writeClose(); while (true == ($buffer = $handle->read(1024))) { echo $buffer; } }