You are here

protected function QueueWorker::resetWorker in Simple XML sitemap 8.3

Same name and namespace in other branches
  1. 4.x src/Queue/QueueWorker.php \Drupal\simple_sitemap\Queue\QueueWorker::resetWorker()
2 calls to QueueWorker::resetWorker()
QueueWorker::deleteQueue in src/Queue/QueueWorker.php
QueueWorker::stashResults in src/Queue/QueueWorker.php

File

src/Queue/QueueWorker.php, line 364

Class

QueueWorker

Namespace

Drupal\simple_sitemap\Queue

Code

protected function resetWorker() {
  $this->results = [];
  $this->processedPaths = [];
  $this->processedResults = [];
  $this->variantProcessedNow = NULL;
  $this->generatorProcessedNow = NULL;
  $this->elementsTotal = NULL;
  $this->elementsRemaining = NULL;
}