Episode 21 Run Time 12:49
If you hunt around the Laravel framework source code, you'll find frequent references to a trait called
Macroable. This allows you to dynamically extend the surface area of a given class. In this lesson, I'll demonstrate how to create your own macros, and review how everything is wired behind the scenes to make this particular functionality possible.