oldFuncName = $oldFuncName; $this->newClassName = $newClassName; $this->newMethodName = $newMethodName; RectorAssert::functionName($oldFuncName); RectorAssert::className($newClassName); RectorAssert::methodName($newMethodName); } public function getOldFuncName() : string { return $this->oldFuncName; } public function getNewClassName() : string { return $this->newClassName; } public function getNewMethodName() : string { return $this->newMethodName; } }