public function withIntervalInSeconds($intervalInSeconds)
    {
        $this->validateInterval($intervalInSeconds);

        $this->interval = $intervalInSeconds;
        $this->intervalUnit = IntervalUnit::SECOND;

        return $this;
    }
public function withIntervalInSeconds($intervalInSeconds)
    {
        $this->validateInterval($intervalInSeconds);

        $this->interval = $intervalInSeconds;
        $this->intervalUnit = IntervalUnit::SECOND;

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

@param int $intervalInSeconds the number of seconds at which the trigger should repeat.

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