Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | class IntoClause extends Clause |
||
11 | { |
||
12 | protected string|QueryBuilder|Expression $groupsVariable; |
||
13 | |||
14 | protected mixed $projectionExpression; |
||
15 | |||
16 | 1 | public function __construct( |
|
17 | string|QueryBuilder|Expression $groupsVariable, |
||
18 | mixed $projectionExpression = null |
||
19 | ) { |
||
20 | 1 | $this->groupsVariable = $groupsVariable; |
|
21 | 1 | $this->projectionExpression = $projectionExpression; |
|
22 | } |
||
23 | |||
24 | 1 | public function compile(QueryBuilder $queryBuilder): string |
|
42 | } |
||
43 | } |
||
44 |