public function OffsetPage::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/modules/jsonapi/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
- core/
modules/ jsonapi/ src/ Query/ OffsetPage.php, line 76
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;
}