Total Complexity | 7 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class Filter extends Event |
||
6 | { |
||
7 | /** |
||
8 | * Holds the value of the filter. |
||
9 | * |
||
10 | * @var mixed |
||
11 | */ |
||
12 | protected $value; |
||
13 | |||
14 | /** |
||
15 | * Filters a value. |
||
16 | * |
||
17 | * When a filter is fired, all listeners are run in the order supplied when adding them. |
||
18 | * |
||
19 | * @param string $action Name of filter. |
||
20 | * @param array $args Arguments passed to the filter. |
||
21 | * |
||
22 | * @return string Always returns the value. |
||
23 | */ |
||
24 | 4 | public function fire($action, $args) |
|
50 |