October\Rain\Assetic\Asset\GlobAsset

Extends:

Implements:

  • October\Rain\Assetic\Asset\AssetInterface
  • Traversable
  • October\Rain\Assetic\Asset\AssetCollectionInterface
  • IteratorAggregate

A collection of assets loaded by glob.

Public methods

public void __construct(string|array $globs, array $filters=array(), string $root=NULL, array $vars=array())

Constructor.

Parameters
  • string|array $globs - A single glob path or array of paths
  • array $filters - An array of filters
  • string $root - The root directory
  • array $vars

public void all()

public void dump($additionalFilter=NULL)
Parameters
  • $additionalFilter

public void getIterator()

Returns an iterator for looping recursively over unique leaves.

public void getLastModified()

Returns the highest last-modified value of all assets in the current collection.

public void load($additionalFilter=NULL)
Parameters
  • $additionalFilter

public void setValues($values)
Parameters
  • $values

Show inherited public methods

Inherited public methods