Total Complexity | 5 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
13 | final class In implements FilterInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var bool[]|float[]|int[]|string[] Values to check against. |
||
17 | */ |
||
18 | private array $values; |
||
19 | |||
20 | /** |
||
21 | * @param string $field Name of the field to compare. |
||
22 | * @param bool[]|float[]|int[]|string[] $values Values to check against. |
||
23 | */ |
||
24 | 6 | public function __construct( |
|
40 | } |
||
41 | |||
42 | 5 | public function getField(): string |
|
43 | { |
||
44 | 5 | return $this->field; |
|
45 | } |
||
46 | |||
47 | /** |
||
48 | * @return bool[]|float[]|int[]|string[] |
||
49 | */ |
||
50 | 5 | public function getValues(): array |
|
53 | } |
||
54 | } |
||
55 |