function OffsetPage::__construct
Same name in other branches
- 9 core/modules/jsonapi/src/Query/OffsetPage.php \Drupal\jsonapi\Query\OffsetPage::__construct()
- 8.9.x core/modules/jsonapi/src/Query/OffsetPage.php \Drupal\jsonapi\Query\OffsetPage::__construct()
- 11.x 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.