public function OffsetPage::__construct in JSON:API 8
Same name and namespace in other branches
- 8.2 src/Query/OffsetPage.php \Drupal\jsonapi\Query\OffsetPage::__construct()
Instantiates an OffsetPage object.
Parameters
int $offset: The query offset.
int $size: The query size limit.
File
- src/
Query/ OffsetPage.php, line 69
Class
- OffsetPage
- Value object for containing the requested offset and page parameters.
Namespace
Drupal\jsonapi\QueryCode
public function __construct($offset, $size) {
$this->offset = $offset;
$this->size = $size;
}