protected renameMethod ( string $className, string $oldMethodName, string $newMethodName, boolean $withInheritance = true ) : void | ||
$className | string | the class that contains the method to be renamed |
$oldMethodName | string | the method to be renamed |
$newMethodName | string | the new method name |
$withInheritance | boolean | if true, also rename method on child classes |
Результат | void |