Total Complexity | 2 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | readonly class WhereGroup implements Stringable |
||
24 | { |
||
25 | /** @var Where[] */ |
||
26 | public array $where; |
||
27 | |||
28 | public function __construct( |
||
29 | Where ...$where |
||
30 | ) { |
||
31 | $this->where = $where; |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * Get the where group as a string. |
||
36 | * |
||
37 | * @return non-empty-string |
||
|
|||
38 | */ |
||
39 | public function __toString(): string |
||
42 | } |
||
43 | } |
||
44 |