1 | <?php |
||
17 | trait GroupByClauseTrait |
||
18 | { |
||
19 | /** |
||
20 | * @var bool |
||
21 | */ |
||
22 | private $groupByWithRollUp = false; |
||
23 | |||
24 | /** |
||
25 | * @var array |
||
26 | */ |
||
27 | private $groupByClauses = []; |
||
28 | |||
29 | /** |
||
30 | * @param string $clause |
||
31 | * |
||
32 | * @return $this |
||
33 | */ |
||
34 | public function addGroupBy($clause) |
||
40 | |||
41 | /** |
||
42 | * @return array |
||
43 | */ |
||
44 | public function getGroupByClauses() |
||
48 | |||
49 | /** |
||
50 | * @return boolean |
||
51 | */ |
||
52 | public function isGroupByWithRollUp() |
||
56 | |||
57 | /** |
||
58 | * @param boolean $groupByWithRollUp |
||
59 | */ |
||
60 | public function setGroupByWithRollUp($groupByWithRollUp) |
||
64 | } |