public function setPageSize($pageSize) { $this->config['pageSize'] = $this->validateInteger($pageSize, "page size"); return $this; }