/** * {@inheritdoc} */ public function __destruct() { $this->csv = null; parent::__destruct(); }
/** * 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; }