public function withIntervalInMonths($intervalInMonths)
    {
        $this->validateInterval($intervalInMonths);
        $this->interval = $intervalInMonths;
        $this->intervalUnit = IntervalUnit::MONTH;

        return $this;
    }
public function withIntervalInMonths($intervalInMonths)
    {
        $this->validateInterval($intervalInMonths);
        $this->interval = $intervalInMonths;
        $this->intervalUnit = IntervalUnit::MONTH;

        return $this;
    }
public function withIntervalInMonths ( $ intervalInMonths ) { $ this -> validateInterval ( $ intervalInMonths ) ; $ this -> interval = $ intervalInMonths ; $ this -> intervalUnit = IntervalUnit :: MONTH ; return $ this ; }
Specify an interval in the IntervalUnit.MONTH that the produced
Trigger will repeat at.

@param int $intervalInMonths the number of months at which the trigger should repeat.

@return CalendarIntervalScheduleBuilder
Specify an interval in the IntervalUnit . MONTH that the produced Trigger will repeat at .