You are here

public function ScaffoldFileCollection::getIterator in Drupal 8

Same name and namespace in other branches
  1. 9 composer/Plugin/Scaffold/Operations/ScaffoldFileCollection.php \Drupal\Composer\Plugin\Scaffold\Operations\ScaffoldFileCollection::getIterator()

File

composer/Plugin/Scaffold/Operations/ScaffoldFileCollection.php, line 118

Class

ScaffoldFileCollection
Collection of scaffold files.

Namespace

Drupal\Composer\Plugin\Scaffold\Operations

Code

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