oldClass = $oldClass; $this->oldConstant = $oldConstant; $this->newConstant = $newConstant; $this->newClass = $newClass; } public function getOldObjectType(): ObjectType { return new ObjectType($this->oldClass); } public function getOldConstant(): string { return $this->oldConstant; } public function getNewConstant(): string { return $this->newConstant; } public function getNewClass(): string { return $this->newClass; } }