12) { throw new \InvalidArgumentException('Invalid month given, expected 01-12 but given: ' . $monthNumber); } $this->month = $month; } /** * @return string */ public function getMonth() { return $this->month; } /** * @return int */ public function getTotalDuration() { return $this->totalDuration; } /** * @param int $totalDuration * @return $this */ public function setTotalDuration($totalDuration) { $this->totalDuration = $totalDuration; return $this; } /** * @return int */ public function getTotalRate() { return $this->totalRate; } /** * @param int $totalRate * @return $this */ public function setTotalRate($totalRate) { $this->totalRate = $totalRate; return $this; } }