/opt/cpanel/ea-wappspector/vendor/rector/rector/rules/Renaming/ValueObject
Edit: /opt/cpanel/ea-wappspector/vendor/rector/rector/rules/Renaming/ValueObject/MethodCallRename.php (1192B)
class = $class;
$this->oldMethod = $oldMethod;
$this->newMethod = $newMethod;
RectorAssert::className($class);
RectorAssert::methodName($oldMethod);
RectorAssert::methodName($newMethod);
}
public function getClass() : string
{
return $this->class;
}
public function getObjectType() : ObjectType
{
return new ObjectType($this->class);
}
public function getOldMethod() : string
{
return $this->oldMethod;
}
public function getNewMethod() : string
{
return $this->newMethod;
}
}