function LinearHistory::getIterator

File

core/lib/Drupal/Core/Config/Checkpoint/LinearHistory.php, line 89

Class

LinearHistory
A chronological list of Checkpoint objects.

Namespace

Drupal\Core\Config\Checkpoint

Code

public function getIterator() : \Traversable {
    return new \ArrayIterator($this->checkpoints);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.