You are here

public function OffsetPage::getOffset in JSON:API 8.2

Same name and namespace in other branches
  1. 8 src/Query/OffsetPage.php \Drupal\jsonapi\Query\OffsetPage::getOffset()

Returns the current offset.

Return value

int The query offset.

File

src/Query/OffsetPage.php, line 87

Class

OffsetPage
Value object for containing the requested offset and page parameters.

Namespace

Drupal\jsonapi\Query

Code

public function getOffset() {
  return $this->offset;
}