You are here

public function SQLFIReader::get in Feed Import 8

This method returns the next available item or NULL if there are no items left.

Return value

mixed The read item

Overrides FeedImportReader::get

File

feed_import_base/src/SQLFIReader.php, line 68

Class

SQLFIReader
SQL Reader class, used te read data with SQL queries.

Namespace

Drupal\feed_import_base

Code

public function get() {
  return $this->items
    ->fetch(PDO::FETCH_ASSOC, PDO::FETCH_ORI_NEXT);
}