Documentation

FilterCollection
in package
implements FilterInterface, IteratorAggregate, Countable

A collection of filters.

Tags
author

Kris Wallsmith kris.wallsmith@gmail.com

Interfaces, Classes and Traits

FilterInterface
A filter manipulates an asset at load and dump.
IteratorAggregate
Countable

Table of Contents

$filters  : mixed
__construct()  : mixed
all()  : mixed
clear()  : mixed
count()  : mixed
ensure()  : mixed
Checks that the current collection contains the supplied filter.
filterDump()  : mixed
Filters an asset just before it's dumped.
filterLoad()  : mixed
Filters an asset after it has been loaded.
getIterator()  : mixed

Properties

Methods

__construct()

public __construct([mixed $filters = array() ]) : mixed
Parameters
$filters : mixed = array()
Return values
mixed

ensure()

Checks that the current collection contains the supplied filter.

public ensure(FilterInterface $filter) : mixed

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

Parameters
$filter : FilterInterface
Return values
mixed

Search results