public function maxAttemptsForInput($number) { $this->totalAttemptsForInput = $number; return $this; }