It would be a nice feature to customize generation of "setters" and "getters", when using:
- Code: Select all
php ./app/console doctrine:generate:entities ...
For example: i would love to completely protect some class parameters from outside world, so they can be accessed only through specific methods. But automation script will keep generating getter and setter methods for them. I know you can create empty methods, or throw not implemented exception in them, but it's no good from the perspective of code cleanliness and IDE auto-completion. It is also a pain to remove this auto-generated methods after every call to "doctrine:generate:entities".
Thanks!
