| Total Complexity | 4 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | abstract class AbstractTransformationCompound extends AbstractOperation implements TransformationInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @inheritdoc |
||
| 13 | */ |
||
| 14 | public function isEmpty(): QueryInterface |
||
| 15 | { |
||
| 16 | return new IsEmpty($this->rethink, $this->message, $this); |
||
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @inheritdoc |
||
| 21 | */ |
||
| 22 | public function limit($value): TransformationInterface |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @inheritdoc |
||
| 29 | */ |
||
| 30 | public function skip($value): TransformationInterface |
||
| 31 | { |
||
| 32 | return new Skip($this->rethink, $this->message, $this, $value); |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @inheritdoc |
||
| 37 | */ |
||
| 38 | public function orderBy($key): TransformationInterface |
||
| 41 | } |
||
| 42 | } |
||
| 43 |