Разберитесь в своем исследовании, которое написал Аарон Сарай Шаблон дизайна PHP некоторые демо И ваше собственное понимание. После прочтения, если вы обнаружите, что я понимаю это неправильно, пожалуйста, немедленно укажите, спасибо, что хлопаете по кирпичам, становитесь на колени и просите о порке
/**
*Adapter adapter mode
* -------------------------------------
** from description**
*
*Through the adapter pattern, new code and functionality can be used to help update the original system.
*Simply put, when you need to convert an object's interface to another object,
*The adapter mode can be adopted without changing the original object
*
* =====================================
** application scenarios**
*
*Use when making interface changes to the base classes of the old schema in the project
*
* -------------------------------------
*
* @version ${Id}$
* @author Shaowei Pu <[email protected]>
*/