private function setMaxBodySize(int $bytes) { if ($bytes < 0) { throw new \DomainException("Max body size setting must be greater than or equal to zero"); } $this->maxBodySize = $bytes; }