PhpStorm
 
Get PhpStorm

Extract parameter

Last modified: 08 October 2024

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/2024.3/ps_extract_parameter.png
Gif