public function setGlobalInterval($globalInterval) { $this->globalInterval = (int) $globalInterval; }