1 | <?php |
||
16 | final class FilterSet implements FilterSetInterface |
||
17 | { |
||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | private $name; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | private $dataLoader; |
||
27 | |||
28 | /** |
||
29 | * @var int |
||
30 | */ |
||
31 | private $quality; |
||
32 | |||
33 | /** |
||
34 | * @var FilterInterface[] |
||
35 | */ |
||
36 | private $filters = []; |
||
37 | |||
38 | /** |
||
39 | * @return string |
||
40 | */ |
||
41 | public function getName(): string |
||
45 | |||
46 | /** |
||
47 | * @return string |
||
48 | */ |
||
49 | public function getDataLoader(): string |
||
53 | |||
54 | /** |
||
55 | * @return int |
||
56 | */ |
||
57 | public function getQuality(): int |
||
61 | |||
62 | /** |
||
63 | * @return FilterInterface[] |
||
64 | */ |
||
65 | public function getFilters(): array |
||
69 | |||
70 | /** |
||
71 | * @param string $name |
||
72 | */ |
||
73 | public function setName(string $name): void |
||
77 | |||
78 | /** |
||
79 | * @param string|null $dataLoader |
||
80 | */ |
||
81 | public function setDataLoader($dataLoader): void |
||
85 | |||
86 | /** |
||
87 | * @param int $quality |
||
88 | */ |
||
89 | public function setQuality(int $quality): void |
||
93 | |||
94 | /** |
||
95 | * @param FilterInterface[] $filters |
||
96 | */ |
||
97 | public function setFilters(array $filters): void |
||
106 | } |
||
107 |