Sets the interval to schedule a SIGALRM signal in seconds.
public function setAlarmInterval(?int $seconds) : void { $this->alarmInterval = $seconds; $this->scheduleAlarm(); }