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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top