PHP OOP Tutorial 19 | Decorator Pattern

The PHP Decorator Pattern is very handy when you want to "Decorate" an object. Just think of frosting, nuts, and sprinkles being added on top of a cake -- and it's handled by "moving stations" --or-- passing your object to other decorators. This is moving into OOD (Object Oriented Design), do not panic if you don't understand all the patterns, I don't think you need to. Just get familiar with some. They take me a long time to understand, don't get discouraged!



Thanks for watching my video tutorials! I hope they help and make your learning easier.