function OffsetPage::getSize

Same name in other branches
  1. 9 core/modules/jsonapi/src/Query/OffsetPage.php \Drupal\jsonapi\Query\OffsetPage::getSize()
  2. 8.9.x core/modules/jsonapi/src/Query/OffsetPage.php \Drupal\jsonapi\Query\OffsetPage::getSize()
  3. 11.x core/modules/jsonapi/src/Query/OffsetPage.php \Drupal\jsonapi\Query\OffsetPage::getSize()

Returns the page size.

Return value

int The requested size of the query result.

File

core/modules/jsonapi/src/Query/OffsetPage.php, line 97

Class

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

Namespace

Drupal\jsonapi\Query

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.