Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
20 | interface ColumnInterface |
||
21 | { |
||
22 | /** |
||
23 | * Returns column alias |
||
24 | * |
||
25 | * @return string |
||
26 | */ |
||
27 | public function getAlias() : string; |
||
28 | |||
29 | /** |
||
30 | * Returns column paginator source |
||
31 | * |
||
32 | * @return string |
||
33 | */ |
||
34 | public function getPaginatorSource() : string; |
||
35 | |||
36 | /** |
||
37 | * Returns column source option |
||
38 | * |
||
39 | * @return string |
||
40 | */ |
||
41 | public function getSource() : string; |
||
42 | |||
43 | /** |
||
44 | * Returns true if column uses MySQL aggregate function. False otherwise. |
||
45 | * |
||
46 | * @return bool |
||
47 | */ |
||
48 | public function isAggregated() : bool; |
||
49 | |||
50 | /** |
||
51 | * Returns a raw SQL select clause |
||
52 | * |
||
53 | * @return string |
||
54 | */ |
||
55 | public function getRawSelect() : string; |
||
56 | } |
||
57 |