You are here

public function OffsetPage::getSize in JSON:API 8

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

Returns the page size.

Return value

int The requested size of the query result.

File

src/Query/OffsetPage.php, line 90

Class

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

Namespace

Drupal\jsonapi\Query

Code

public function getSize() {
  return $this->size;
}