摘要:《PHP设计模式》第3章适配器模式,本章通过适配器设计模式(Adapter Design Pattern),编程人员能够使用新的代码和功能性来帮助更新原有的系统。本节为大家介绍问题与解决方案。
基于28个网页-相关网页
Design Pattern - Adapter 适配器模式
adapter design pattern
适配器设计模式
以上为机器翻译结果,长、整句建议使用 人工翻译 。
The adapter design pattern is used when you want two different classes with incompatible interfaces to work together.
在设计模式中适配器用来连接实现了不兼容接口的两个类。
youdao
Another way of thinking about Action class is as the Adapter design pattern.
考虑action类的另一种方式是Adapter设计模式。
应用推荐
模块上移
模块下移
不移动