| 1 | <?php |
||
| 12 | trait OrderByMethod |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @param string $order |
||
| 16 | * |
||
| 17 | * @return static |
||
| 18 | * |
||
| 19 | * @throws LogicException |
||
| 20 | */ |
||
| 21 | public function orderBy($order) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param string $key |
||
| 39 | * @param mixed $value |
||
| 40 | * |
||
| 41 | * @return static |
||
| 42 | */ |
||
| 43 | abstract protected function cloneWith($key, $value); |
||
| 44 | } |
||
| 45 |