October\Rain\Assetic\Asset\Iterator\AssetCollectionIterator

Implements:

  • RecursiveIterator
  • Traversable
  • Iterator

Iterates over an asset collection.

The iterator is responsible for cascading filters and target URL patterns from parent to child assets.

Public methods

public void __construct($coll, $clones)
Parameters
  • $coll
  • $clones

public Assetic\Asset\AssetInterface current(Boolean $raw=false)

Returns a copy of the current asset with filters and a target URL applied.

Parameters
  • Boolean $raw - Returns the unmodified asset if true

public void getChildren()

public void hasChildren()

public void key()

public void next()

public void rewind()

public void valid()