> I understand the benefits of magic methods, but how will I know if my object
> even has them (or which properties can be set) if it's not in the interface?
You put the magic methods in a basic model class and then extend
everything from there.
Did you understand what I said about why you wouldn't put magic
methods in the interface?
-Ed
没有评论:
发表评论