I'm using Enterprise Architect to make a UML class diagram and generate PHP5 code. How can I generate getter and setter methods for a certain class?
Add the <<Property>>
Stereotype to the attribute you want to create Getters and Setters for.
For further reference see