Exemplo n.º 1
0
 /**
  *  {@inheritdoc}
  */
 public function __destruct()
 {
     $this->csv = null;
     parent::__destruct();
 }
Exemplo n.º 2
0
 /**
  * open a csv file to write
  *
  * @param  string|resource $file filename or stream resource, default = null
  * @return AbstractCsv
  */
 public function open($file = null)
 {
     parent::open($file);
     $this->writeBom();
     return $this;
 }