diff --git a/src/Result/Result.php b/src/Result/Result.php index 54c9e2d..0abda76 100644 --- a/src/Result/Result.php +++ b/src/Result/Result.php @@ -112,9 +112,14 @@ public function position() // TODO: Implement position() method. } - public function skip() + /** + * @param int $offset + * @param null $length + * @return array|RecordView[] + */ + public function skip(int $offset, $length = null) { - // TODO: Implement skip() method. + return array_slice($this->records, $offset, $length); } private function array_map_deep(array $array)