| Total Complexity | 5 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 8 | trait GroupByTrait |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var array |
||
| 12 | */ |
||
| 13 | protected $groupBy = []; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param array|string $groupBy |
||
| 17 | * |
||
| 18 | * @return $this |
||
| 19 | * @throws QueryBuilderException |
||
| 20 | */ |
||
| 21 | public function groupBy($groupBy) |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return null|string |
||
| 38 | */ |
||
| 39 | protected function buildGroupByQueryPart(): ?string |
||
| 47 |