public function AssetCollection::getIterator

Returns an iterator for looping recursively over unique leaves.

1 call to AssetCollection::getIterator()
GlobAsset::getIterator in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/GlobAsset.php
Returns an iterator for looping recursively over unique leaves.
1 method overrides AssetCollection::getIterator()
GlobAsset::getIterator in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/GlobAsset.php
Returns an iterator for looping recursively over unique leaves.

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetCollection.php, line 210

Class

AssetCollection
A collection of assets.

Namespace

Assetic\Asset

Code

public function getIterator() {
  return new \RecursiveIteratorIterator(new AssetCollectionFilterIterator(new AssetCollectionIterator($this, $this->clones)));
}