You are here

public function SearchRecordParameters::setOffset in TMGMT Translator Smartling 8.3

Same name and namespace in other branches
  1. 8.4 vendor/smartling/api-sdk-php/src/AuditLog/Params/SearchRecordParameters.php \Smartling\AuditLog\Params\SearchRecordParameters::setOffset()
1 call to SearchRecordParameters::setOffset()
SearchRecordParameters::__construct in vendor/smartling/api-sdk-php/src/AuditLog/Params/SearchRecordParameters.php

File

vendor/smartling/api-sdk-php/src/AuditLog/Params/SearchRecordParameters.php, line 25

Class

SearchRecordParameters

Namespace

Smartling\AuditLog\Params

Code

public function setOffset($offset) {
  if (!is_int($offset) || $offset < 0) {
    throw new InvalidArgumentException('Offset value must be grater or equal to zero.');
  }
  $this
    ->set('offset', $offset);
  return $this;
}