You are here

public function IteratingServiceBaseTrait::next in Purge 8.3

Move forward to next element.

1 method overrides IteratingServiceBaseTrait::next()
DiagnosticsService::next in src/Plugin/Purge/DiagnosticCheck/DiagnosticsService.php
Override to log messages when enabled.

File

src/IteratingServiceBaseTrait.php, line 67

Class

IteratingServiceBaseTrait
Adds \Iterator logic to \Drupal\purge\ServiceInterface derivatives.

Namespace

Drupal\purge

Code

public function next() {
  $this
    ->initializePluginInstances();
  ++$this->position;
}