PhpStorm
 
Get PhpStorm
You are viewing the documentation for an earlier version of PhpStorm.

Extract parameter

Last modified: 21 July 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.2/ps_extract_parameter.png
Gif