PhpStorm
 
Get PhpStorm

Extract parameter

Last modified: 27 December 2022

The Extract Parameter refactoring is used to add a new parameter to a function declaration and to update the function calls accordingly.

https://resources.jetbrains.com/help/img/idea/2022.3/ps_extract_parameter.png
Gif