public function setBatchSize($batchSize) { $this->options['cursor']['batchSize'] = (int) $batchSize; return $this; }