Exemplo n.º 1
0
 /**
  * Add a new line into the CSV file.
  *
  * @param csvItem $item
  *   New line of CSV file.
  *   @see \FanCourier\Plugin\csv\csvItem
  */
 public function addNewItem(csvItem $item)
 {
     fputcsv($this->csv, $item->getItem(), ',', chr(0));
 }