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

Extract parameter

Last modified: 15 September 2023

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