PHPStorm Setter/Getter Live Template for Magento 2
PHPStorm Magento 2 setter/getter Live-Template
Writing setters and getters for Magento 2 Data APIs is a time consuming and error-prone process. So we publish a PHPStorm Live Template on Github. That makes adding setters and getters much more efficient.
Just download the Live Template and copy it under the correct location depending on which operating system you are using. Details can be found in the PHPStorm online help.