public function StatsTracker::valid in Purge 8.3
Checks if current position is valid.
1 call to StatsTracker::valid()
- StatsTracker::current in src/
Plugin/ Purge/ Queue/ StatsTracker.php - Return the current element.
File
- src/
Plugin/ Purge/ Queue/ StatsTracker.php, line 266
Class
- StatsTracker
- Provides the queue statistics tracker.
Namespace
Drupal\purge\Plugin\Purge\QueueCode
public function valid() {
$this
->initializeStatistics();
return isset($this->instances[$this->position]);
}