Пример #1
0
 protected static function writeLine($handle, $row)
 {
     return fputcsv($handle, $row, self::$options->getDelimiter(), self::$options->getEnclosure());
 }
Пример #2
0
 protected static function readLine($handle)
 {
     return fgetcsv($handle, self::$options->getLength(), self::$options->getDelimiter(), self::$options->getEnclosure(), self::$options->getEscape());
 }