Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. OffsetPage.php

function 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\Query

Code

public function __construct($offset, $size) {
    $this->offset = $offset;
    $this->size = $size;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal