public function setPollingAttempts($pollingAttempts) { $this->pollingAttempts = $pollingAttempts; return $this; }