protected function createObject($path, $format, $type = null, array $options = array()) { $factory = new ReaderIteratorFactory(); return $factory->createGenericLineIterator($path, $format, $type, $options); }
protected function createObject($path, array $options = array()) { $factory = new ReaderIteratorFactory(); return $factory->createLineIterator($path, $options); }
protected function createObject($path, $throwException = true, $skipEmptyCount = true, $limit = 0, $offset = 0) { $options = array('throwException' => $throwException, 'skipEmptyCount' => $skipEmptyCount, 'limit' => $limit, 'offset' => $offset); $factory = new ReaderIteratorFactory(); return $factory->createFileReaderIterator($path, $options); }