Contents

October\Rain\Assetic\Filter\FilterCollection

Overview

FilterCollection is a collection of filters.

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

Protected Properties

protected array $filters


Public Methods

public __construct()

public __construct($filters = []): void

public all()

public all(): array 

public clear()

public clear(): void 

public count()

public count(): int 

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(): Traversable