private function setKeepAliveTimeout(int $seconds) { if ($seconds < 1) { throw new \DomainException("Keep alive timeout setting must be greater than or equal to one second"); } $this->keepAliveTimeout = $seconds; }