data; } public function getErrorCorrectionLevel(): ErrorCorrectionLevel { return $this->errorCorrectionLevel; } public function getVersion(): ?QrCodeVersion { return $this->version; } public function withErrorCorrectionLevel(ErrorCorrectionLevel $level): self { return new self($this->data, $level, $this->version); } public function withVersion(QrCodeVersion $version): self { return new self($this->data, $this->errorCorrectionLevel, $version); } }