Rename refactoring

You can easily rename your classes, methods, and variables. PhpStorm will automatically correct all the usages.

Place the caret at the symbol you want to rename, and press &shortcut:RenameElement; (Refactor | Rename). Type the new name and press &shortcut:EditorEnter;.

Rename refactoring

Press &shortcut:RenameElement; again to open the Rename dialog that will allow you to search for the provided text in comments and strings.