October\Rain\Assetic\Filter\FilterCollection

Overview

FilterCollection is a collection of filters.

Implements
  • October\Rain\Assetic\Filter\FilterInterface
  • IteratorAggregate
  • Countable
  • Traversable

Public Methods

public __construct()

public __construct($filters = []): void

public all()

public all(): void

public clear()

public clear(): void

public count()

public count(): void

public ensure()

public ensure($filter): void

Checks that the current collection contains the supplied filter.

If the supplied filter is another filter collection, each of its filters will be checked.

public filterDump()

public filterDump($asset): void

public filterLoad()

public filterLoad($asset): void

public getIterator()

public getIterator(): void