This morning I have committed a feature, which offers generating
of constructor, getters and setters in a PHP class. To invoke the
functionality, the caret position has to be inside a PHP class and
you have to press shortcut ALT+Insert (CTLRL+I on
Mac). After invoking the shortcut, all possible generators are
offered.
Let's explain on a simple example. I have very simple PHP class,
where I have only two properties - $name and $age. At
first I want to add constructor. After...