setInterval($settings['serialization']['serialization_interval']); } } /** * Get serialization interval, in seconds. */ public function getInterval(): int { return $this->interval; } /** * Set serialization interval, in seconds. * * @param int $interval Serialization interval, in seconds. */ public function setInterval(int $interval): self { $this->interval = $interval; return $this; } }