三个类概括PHP的五种设计模式 工厂模式 单元素模式 观察者模式 命令链模式 策略模式 复制代码 代码如下: class people { private $ PHP编程 2022-04-24 29 点赞 0 评论 43 浏览