| Total Complexity | 4 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class IntoClause extends Clause |
||
| 8 | { |
||
| 9 | |||
| 10 | protected $groupsVariable; |
||
| 11 | |||
| 12 | protected $projectionExpression; |
||
| 13 | |||
| 14 | 1 | public function __construct($groupsVariable, $projectionExpression = null) |
|
| 15 | { |
||
| 16 | 1 | $this->groupsVariable = $groupsVariable; |
|
| 17 | 1 | $this->projectionExpression = $projectionExpression; |
|
| 18 | 1 | } |
|
| 19 | |||
| 20 | 1 | public function compile(QueryBuilder $queryBuilder): string |
|
| 38 | } |
||
| 39 | } |
||
| 40 |