You are here

public function ReplicationTask::setLimit in Replication 8.2

Same name and namespace in other branches
  1. 8 src/ReplicationTask/ReplicationTask.php \Drupal\replication\ReplicationTask\ReplicationTask::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 ReplicationTaskInterface::setLimit

File

src/ReplicationTask/ReplicationTask.php, line 104

Class

ReplicationTask

Namespace

Drupal\replication\ReplicationTask

Code

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