0

I am using Sparx Enterprise Architect to create a domain model in php. When I generate the code, EA only produces the classes with the attributes and does not automatically create the getter and setter methods. has anyone one else had this issues and found a solution to it?

4

1 回答 1

0

自动生成的 getter 和 setter 并没有真正改进代码或任何东西。生成的属性可能是公开的——当您向 getter 或 setter 添加逻辑时,您可以随意更改它们。

于 2013-07-27T22:25:23.600 回答