PHP Class DMS\Filter\Filters\BaseFilter

Abstract class that defined the basic needs of a "Filter" Filter classes are the enforcers of rules. This means they are the classes that know how a given rule is applied to a value.
Datei anzeigen Open project: rdohms/dms-filter

Public Methods

Method Description
apply ( Rule $rule, mixed $value ) : mixed Enforces the desired filtering on the the value returning a filtered value.

Method Details

apply() abstract public method

Enforces the desired filtering on the the value returning a filtered value.
abstract public apply ( Rule $rule, mixed $value ) : mixed
$rule DMS\Filter\Rules\Rule
$value mixed
return mixed