You are here

public function SpreadsheetIterator::clearCache in Migrate Spreadsheet 8

Same name and namespace in other branches
  1. 2.0.x src/SpreadsheetIterator.php \Drupal\migrate_spreadsheet\SpreadsheetIterator::clearCache()

Clears the iterator internal, static cache.

Overrides SpreadsheetIteratorInterface::clearCache

1 call to SpreadsheetIterator::clearCache()
SpreadsheetIterator::setConfiguration in src/SpreadsheetIterator.php
Sets the iterator configuration.

File

src/SpreadsheetIterator.php, line 301

Class

SpreadsheetIterator
Provides a spreadsheet iterator.

Namespace

Drupal\migrate_spreadsheet

Code

public function clearCache() {
  $this->cache = [];
}