¡El Madridisti! shared a good tip on how to use Collection’s Macros in Laravel 5

So today I’ll be talking about using Collection’s Macros, brought since L5.1 I Guess :D, actually untill few hours ago I wasn‘t aware of its existence, WHY inventing something like that and WHEN to use it!!

so today I had the chance to taste it, its sweety … you easily get to addict it. you’ll want to use it everytime, everywhere … so let us first get an example of you make use of them … and then only your Imagination shall set your limits.

laravel macro