PHP: Which way to go, for sharing code between classes

前端 未结 0 1906
借酒劲吻你
借酒劲吻你 2020-11-21 20:16

Let\'s say I\'ve got two classes A and B and a Set of Methods S, which provide some functionality I want to use in both classes.

Follogwing approaches would come to

相关标签:
回答
  • 消灭零回复
提交回复
热议问题