# Three Wrappers, Three Reasons

The hub now has three kinds of class that look the same on paper, each holding one object and passing calls on: TuneoSpeakerAdapter, CachedWeather and GuardedLock. What each is for tells them apart (a new shape, a new feature, or control of the way in), and that decides where the next rule belongs.

![Cheat sheet: Three Wrappers, Three Reasons](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/8ec27e382ba34a8a8b41dd7cf8bebc5e.webp)

- Category: Data Structures
- Level: Journeyman
- Tags: Adapter Pattern, Decorator Pattern, OOP, Proxy Pattern
- Author: Gregor Dzierzon
- Updated: November 17, 2026

Source: https://www.ask-codey.com/cheat-sheets/dp-adapter-decorator-proxy-cheat-sheet
