class = $class; $this->propertyName = $propertyName; $this->type = $type; RectorAssert::className($class); } public function getClass() : string { return $this->class; } public function getPropertyName() : string { return $this->propertyName; } public function getType() : Type { return $this->type; } }