You are here

protected function QueueWorker::resetWorker in Simple XML sitemap 4.x

Same name and namespace in other branches
  1. 8.3 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 341

Class

QueueWorker

Namespace

Drupal\simple_sitemap\Queue

Code

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