예제 #1
0
 /**
  * Reads one CSV row from the file
  *
  * @param int $length [optional]
  * @param string $delimiter [optional]
  * @param string $enclosure [optional]
  * @param string $escape [optional]
  * @return array|bool|null
  */
 public function readCsv($length = 0, $delimiter = ',', $enclosure = '"', $escape = '\\')
 {
     return $this->driver->fileGetCsv($this->resource, $length, $delimiter, $enclosure, $escape);
 }