You are here

public function EntityCollection::hasNextPage in JSON:API 8

Checks if there is a next page in the collection.

Return value

bool TRUE if the collection has a next page.

File

src/Resource/EntityCollection.php, line 102

Class

EntityCollection
Wrapper to normalize collections with multiple entities.

Namespace

Drupal\jsonapi\Resource

Code

public function hasNextPage() {
  return (bool) $this->hasNextPage;
}