| 1 | <?php |
||
| 19 | trait GroupByTrait |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var bool |
||
| 23 | */ |
||
| 24 | private $groupByWithRollUp = false; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var array |
||
| 28 | */ |
||
| 29 | private $groupByClauses = []; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param mixed $_ |
||
| 33 | * |
||
| 34 | * @return $this |
||
| 35 | */ |
||
| 36 | public function addGroupBy($_) |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return array |
||
| 47 | */ |
||
| 48 | public function getGroupByClauses() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @return boolean |
||
| 55 | */ |
||
| 56 | public function isGroupByWithRollUp() |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @param boolean $groupByWithRollUp |
||
| 63 | * |
||
| 64 | * @return $this |
||
| 65 | */ |
||
| 66 | public function setGroupByWithRollUp($groupByWithRollUp) |
||
| 72 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.