private function setSoftStreamCap(int $bytes) { if ($bytes < 0) { throw new \DomainException("Soft stream cap setting must be greater than or equal to zero"); } $this->softStreamCap = $bytes; }