سؤال

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