public function withIntervalInWeeks($intervalInWeeks)
    {
        $this->validateInterval($intervalInWeeks);
        $this->interval = $intervalInWeeks;
        $this->intervalUnit = IntervalUnit::WEEK;

        return $this;
    }
public function withIntervalInWeeks($intervalInWeeks)
    {
        $this->validateInterval($intervalInWeeks);
        $this->interval = $intervalInWeeks;
        $this->intervalUnit = IntervalUnit::WEEK;

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

@param int $intervalInWeeks the number of weeks at which the trigger should repeat.

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