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,
withPreviousValue(?Variant $previousValue)
withNextValueBuilder(?VariantBuilder $nextValue)
withChange(?string $change)
withCatalogData(?string $catalogData)
withNextValue(?Variant $nextValue)
withPreviousValueBuilder(?VariantBuilder $previousValue)