예제 #1
0
 /**
  * Close this handle.
  *
  * @throws ReadException         If closing the handle fails.
  * @throws ClosedHandleException If this handle is closed.
  */
 public function close()
 {
     if (!$this->isClosed() && null !== $this->columnNames) {
         $this->writeFooter();
     }
     parent::close();
 }
 /**
  * Close this handle.
  *
  * @throws ReadException         If closing the handle fails.
  * @throws ClosedHandleException If this handle is closed.
  */
 public function close()
 {
     if (!$this->isClosed()) {
         $this->writeAligned();
     }
     parent::close();
 }