Total Complexity | 2 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
28 | abstract class Base |
||
29 | { |
||
30 | |||
31 | /** |
||
32 | * Holds the options for this instance of the filter |
||
33 | * |
||
34 | * @type array |
||
35 | */ |
||
36 | protected $options = []; |
||
37 | |||
38 | /** |
||
39 | * Construct |
||
40 | * |
||
41 | * @param array $options |
||
42 | */ |
||
43 | 96 | public function __construct(array $options = []) |
|
47 | 48 | } |
|
48 | |||
49 | 24 | public function getOptions() |
|
52 | } |
||
53 | |||
54 | /** |
||
55 | * Apply the filter to the data |
||
56 | * |
||
57 | * @param array $result |
||
58 | * @param \GameQ\Server $server |
||
59 | * |
||
60 | * @return mixed |
||
61 | */ |
||
62 | abstract public function apply(array $result, Server $server); |
||
63 | } |
||
64 |