public function withIntervalInDays($intervalInDays)
    {
        $this->validateInterval($intervalInDays);
        $this->interval = $intervalInDays;
        $this->intervalUnit = IntervalUnit::DAY;

        return $this;
    }
public function withIntervalInDays($intervalInDays)
    {
        $this->validateInterval($intervalInDays);
        $this->interval = $intervalInDays;
        $this->intervalUnit = IntervalUnit::DAY;

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

@param int $intervalInDays the number of days at which the trigger should repeat.

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