function ScaffoldFileCollection::getIterator
Same name and namespace in other branches
- 10 composer/Plugin/Scaffold/Operations/ScaffoldFileCollection.php \Drupal\Composer\Plugin\Scaffold\Operations\ScaffoldFileCollection::getIterator()
- 11.x composer/Plugin/Scaffold/Operations/ScaffoldFileCollection.php \Drupal\Composer\Plugin\Scaffold\Operations\ScaffoldFileCollection::getIterator()
- 9 composer/Plugin/Scaffold/Operations/ScaffoldFileCollection.php \Drupal\Composer\Plugin\Scaffold\Operations\ScaffoldFileCollection::getIterator()
- 8.9.x composer/Plugin/Scaffold/Operations/ScaffoldFileCollection.php \Drupal\Composer\Plugin\Scaffold\Operations\ScaffoldFileCollection::getIterator()
Retrieves the iterator for the object.
Return value
\ArrayIterator<string, array<string, \Drupal\Composer\Plugin\Scaffold\ScaffoldFileInfo>> The iterator.
File
-
composer/
Plugin/ Scaffold/ Operations/ ScaffoldFileCollection.php, line 123
Class
- ScaffoldFileCollection
- Collection of scaffold files.
Namespace
Drupal\Composer\Plugin\Scaffold\OperationsCode
public function getIterator() : \ArrayIterator {
return new \ArrayIterator($this->scaffoldFilesByProject);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.