public function IteratingServiceBaseTrait::rewind in Purge 8.3
Rewind the Iterator to the first element.
1 call to IteratingServiceBaseTrait::rewind()
- IteratingServiceBaseTrait::reloadIterator in src/
IteratingServiceBaseTrait.php - Rewind the iterator and destruct loaded plugin instances.
File
- src/
IteratingServiceBaseTrait.php, line 92
Class
- IteratingServiceBaseTrait
- Adds \Iterator logic to \Drupal\purge\ServiceInterface derivatives.
Namespace
Drupal\purgeCode
public function rewind() {
$this->position = 0;
}