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