public function QueueWorker::getProcessedElementCount in Simple XML sitemap 4.x
Same name and namespace in other branches
- 8.3 src/Queue/QueueWorker.php \Drupal\simple_sitemap\Queue\QueueWorker::getProcessedElementCount()
Return value
int
File
- src/
Queue/ QueueWorker.php, line 416
Class
Namespace
Drupal\simple_sitemap\QueueCode
public function getProcessedElementCount() : ?int {
$initial = $this
->getInitialElementCount();
$remaining = $this
->getQueuedElementCount();
return $initial > $remaining ? $initial - $remaining : 0;
}