| 1 | <?php |
||
| 13 | trait SelectMethod |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @param string $columns |
||
| 17 | * |
||
| 18 | * @return static |
||
| 19 | * |
||
| 20 | * @throws LogicException |
||
| 21 | */ |
||
| 22 | public function select($columns = "*") |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return QueryFactory |
||
| 41 | */ |
||
| 42 | abstract protected function factory(); |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @param string $key |
||
| 46 | * @param mixed $value |
||
| 47 | * |
||
| 48 | * @return static |
||
| 49 | */ |
||
| 50 | abstract protected function cloneWith($key, $value); |
||
| 51 | } |
||
| 52 |