I am looking for plugin for NetBeans PHP (or it can be some external tool) that would do something like that:
- When run it asks for a class name and the names of private attributes (and their types) of this class
- Then it generates this class with:
- all listed attributes with types in vdoc format,
- constructor that takes all the attributes as parameters and initialize class attributes with those values,
- default getters and setters.
I know it's not difficult to write such tool, but maybe it already exists.