private function setMaxConnections(int $count) { if ($count < 1) { throw new \DomainException("Max connections setting must be greater than or equal to one"); } $this->maxConnections = $count; }