3 declare(strict_types=1);
35 private $previousValue;
66 return $this->previousValue instanceof
VariantBuilder ? $this->previousValue->
build() : $this->previousValue;
77 return $this->nextValue instanceof
VariantBuilder ? $this->nextValue->
build() : $this->nextValue;
91 return $this->catalogData;
100 $this->change = $change;
111 $this->previousValue = $previousValue;
122 $this->nextValue = $nextValue;
133 $this->catalogData = $catalogData;
144 $this->previousValue = $previousValue;
155 $this->nextValue = $nextValue;
164 $this->previousValue instanceof
VariantBuilder ? $this->previousValue->
build() : $this->previousValue,
withCatalogData(?string $catalogData)
withChange(?string $change)
withPreviousValue(?Variant $previousValue)
withNextValue(?Variant $nextValue)
withNextValueBuilder(?VariantBuilder $nextValue)
withPreviousValueBuilder(?VariantBuilder $previousValue)