1 | <?php |
||
9 | class Filter implements FilterInterface |
||
10 | { |
||
11 | |||
12 | /** |
||
13 | * @var array |
||
14 | */ |
||
15 | protected $filters; |
||
16 | |||
17 | public function __construct() |
||
22 | |||
23 | /** |
||
24 | * Check a given value against this set of filters. |
||
25 | * |
||
26 | * @param NormalizedValueVariant|string $value |
||
27 | * @return FilterReportInterface|null |
||
28 | */ |
||
29 | public function matches(NormalizedValueVariant $value) |
||
37 | |||
38 | /** |
||
39 | * @param string $rule |
||
40 | * @param string $value |
||
41 | * @return boolean |
||
42 | */ |
||
43 | protected function checkAgainstRule($rule, $value) |
||
47 | } |