| Total Complexity | 7 |
| Total Lines | 53 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | trait ColumnsProcess |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var $columns |
||
|
|
|||
| 9 | */ |
||
| 10 | private $columns; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $fieldKey='Field'; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param $columns |
||
| 19 | */ |
||
| 20 | public function columnsProcess($columns) |
||
| 21 | { |
||
| 22 | $this->columns=$columns; |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return mixed |
||
| 27 | */ |
||
| 28 | public function all() |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param array $tables |
||
| 35 | * @return array |
||
| 36 | */ |
||
| 37 | public function fields($tables=array()) |
||
| 61 |