1 | <?php |
||
12 | trait LimitMethod |
||
13 | { |
||
14 | /** |
||
15 | * @param int $limit |
||
16 | * @param int $offset |
||
17 | * |
||
18 | * @return static |
||
19 | * |
||
20 | * @throws LogicException |
||
21 | */ |
||
22 | public function limit($limit, $offset = 0) |
||
34 | |||
35 | /** |
||
36 | * @param string $key |
||
37 | * @param mixed $value |
||
38 | * |
||
39 | * @return static |
||
40 | */ |
||
41 | abstract protected function cloneWith($key, $value); |
||
42 | } |
||
43 |