/**
  * Returns the current interval. If none is set, a new one is randomly created.
  * @return int
  */
 protected function getCurrentInterval()
 {
     if ($this->currentInterval === null) {
         $this->currentInterval = $this->randomizer->randNum($this->from, $this->to);
     }
     return $this->currentInterval;
 }