Yesterday, Andrés Santibáñez shared this tweet mentioning something new that he learned in Laravel.
Andrés Santibáñez@asantibanezTIL about @laravelphp "throw_if" helper. Sweet! 👌18:32 PM - 17 Mar 2020
So... I've replied that with 🙃
And got his response 🤪
Oh boy! It was on... 😈
Then, 35 minutes later; with 31 tweets posted between us two; reaching the character limit; and worse, my wife poking me to get to bed; we reached this point:
Andrés Santibáñez@asantibanez@Caneco @laravelphp asset(transform(config(mix(env(decrypt(cache(secure_url(bcrypt(encrypt(app(resolve(old(last(view(with(session(broadcast(event(dispatch(request(retry(route(rescue(collect(optional(data_get(tap(abort_unless(abort_if(throw_if(throw_unless(...23:57 PM - 17 Mar 2020
Decided to end the thread I replied with a sneaky dd()
@asantibanez @laravelphp dd(asset(transform(config(mix(env(decrypt(cache(secure_url(bcrypt(encrypt(app(resolve(old(last(view(with(session(broadcast(event(dispatch(request(retry(route(rescue(collect(optional(data_get(tap(abort_unless(abort_if(throw_if(throw_unless(...23:57 PM - 17 Mar 2020
Then a wild Liam Hammett appeared and throw a new tweet:
(pun intended)
@Caneco @asantibanez @laravelphp throw new \Exception(dd(asset(transform(config(mix(env(decrypt(cache(secure_url(bcrypt(encrypt(app(resolve(old(last(view(with(session(broadcast(event(dispatch(request(retry(route(rescue(collect(optional(data_get(tap(abort_unless(abort_if(throw_if(throw_unless(...23:59 PM - 17 Mar 2020
But the one who ended the whole conversation was Andrés with: 🏆
Andrés Santibáñez@asantibanez@LiamHammett @Caneco @laravelphp auth(throw new \Exception(dd(asset(transform(config(mix(env(decrypt(cache(secure_url(bcrypt(encrypt(app(resolve(old(last(view(with(session(broadcast(event(dispatch(request(retry(route(rescue(collect(optional(data_get(tap(abort_unless(abort_if(throw_if(throw_unless(...00:01 AM - 18 Mar 2020
Well, some of you can say that this was stupid – and you're probably right. But screw it… during this #StayAtHome period during the current Coronavirus crisis, this was fun.
And the Laravel community liked it. I guess… at least Ivan (@jesseleite85) said that this was very Helpful.
Ivan the Space Biker@jesseleite8500:08 AM - 18 Mar 2020
Top comments (4)
🙃
Too late to contribute? 😂
What would be your helper 😁
That's funny :D