You are here

public function EntityDependencyIterator::next in Entity Dependency API 7

Moves the current position to the next element.

File

./EntityDependencyIterator.inc, line 258
Entity Dependency classes.

Class

EntityDependencyIterator
Iterator class which does the heavy lifting for detecting dependencies.

Code

public function next() {
  do {
    $current = next($this->entities);
  } while (!empty($current) && isset($this->traversed[$current['type']][$current['id']]));
}