Frage

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?

War es hilfreich?

Lösung

Add the <<Property>> Stereotype to the attribute you want to create Getters and Setters for.

For further reference see

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top