DEV Community

Ivan Grigorov
Ivan Grigorov

Posted on

PHP Getters and Setters in VS Code

Hello I have created a small plugin for every PHP developer that uses VS code.

This plugin allow you to create multiple getters and setters and/or a constructor.

https://marketplace.visualstudio.com/items?itemName=IvanGrigorov.php-getters-and-setters

What is defferent from the rest ?

The main difference is that it works with multiple fields in a selection, not having to go and generate the code one by one. It also includes the option to generate constructors without the need of new extension with the already defined fields.

Image description

Feel free to try it, give feedback and/or rate it. :)

Top comments (0)