You are here

public function Changes::setLimit in Replication 8

Same name and namespace in other branches
  1. 8.2 src/Changes/Changes.php \Drupal\replication\Changes\Changes::setLimit()

Set the limit of returned number of items.

Parameters

int $limit: The limit of returned items.

Return value

\Drupal\replication\Changes\ChangesInterface Returns $this.

Overrides ChangesInterface::setLimit

File

src/Changes/Changes.php, line 154

Class

Changes

Namespace

Drupal\replication\Changes

Code

public function setLimit($limit) {
  $this->limit = $limit;
  return $this;
}