Total Complexity | 6 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
11 | class FilterArrayEntry extends AFilterEntry |
||
12 | { |
||
13 | protected static $relations = [ |
||
14 | self::RELATION_IN, |
||
15 | self::RELATION_NOT_IN, |
||
16 | ]; |
||
17 | |||
18 | protected $relation = self::RELATION_IN; |
||
19 | /** @var string[] */ |
||
20 | protected $value = []; |
||
21 | |||
22 | 6 | public function setValue($value): Interfaces\IFilterEntry |
|
26 | } |
||
27 | |||
28 | /** |
||
29 | * @param string|string[]|Interfaces\IFilterEntry $value |
||
30 | * @return string[] |
||
31 | */ |
||
32 | 6 | protected function toArray($value): array |
|
42 | } |
||
43 | } |
||
44 | |||
45 | 7 | public function getValue() |
|
50 |