private function setMaxConcurrentStreams(int $streams) { if ($streams <= 0) { throw new \DomainException("Max number of concurrent streams setting must be greater than zero"); } $this->maxConcurrentStreams = $streams; }