Design Patterns in PHP – Adapter design pattern

Adapter design pattern The adapter pattern is a software design pattern (also known as wrapper, an alternative naming shared with the decorator pattern) that allows the interface of an existing class to be used as another interface. It is often used to make existing classes work with others without modifying their source code. An example […]

Design Patterns in PHP – Adapter design pattern Read More »