Does anyone know how to save typing in PhpStorm when you create a class constructor and you want to assign all the parameters to the respective class fields? I write it by hand
In case you want to have PhpStorm generate the constructor too you can go to Code -> Generate -> Constructor. This will take care of inserting the parameters you want as well as their initialization.