Prefer to read instead of watching? Check out the article version of this video: aaronfrancis.com/2024/laravels-higher-order-collection-proxies-451f4176
@pilskalns5 ай бұрын
I was just about to write simple 3 line each loop, then remembered about this feauture from one of your videos and now I saved 2 lines into cool oneliner. Thanks!
@jorbascrumps5 ай бұрын
This is such a fun series. Keep it up!
@rmdashrfv5 ай бұрын
Hi, I work at Zevia! Thanks for the feedback, how can we improve the product Aaron?
@aarondfrancis5 ай бұрын
Woah for real?
@ScottZirkel5 ай бұрын
@@aarondfrancis You've just leveled up.
@Richardritchie-w1f5 ай бұрын
npm i zevia
@pratikbhujel5 ай бұрын
Tell them to make it available in Nepal too Aaron .
@Devdojo5 ай бұрын
Haven’t used’m before, but I will now. Thanks. Also, I kind of want to give Zevia a try 😅 my expectations are low, so I might enjoy it.
@alexanderkrist955 ай бұрын
The part when we deleted the test was the cherry on top 😂 love this ❤
@AndreSantos-nl3vy5 ай бұрын
This is a fun. Keep it up!
@jervi_sir5 ай бұрын
it will be really helpful if you make light on Laravel Reverb, for web or mobile like react native
@darkbelg5 ай бұрын
These highirderproxy is not really mentioned or shown like this in the docs. Like in the docs it's shown chained. But never mentioned you can use it like this. Does this only work for each?
@iPwnPancakes5 ай бұрын
Oh snap, I do laravel and I didn't know I could do this 😆
@FunctionGermany5 ай бұрын
nice video, but i think i don't like this pattern. i think there's nothing wrong with foreach, making it more expressive that you're working with multiple variables of a collection/list.
@spicynoodle74195 ай бұрын
I've used higher-order proxies, however, I don't like them. They break LSP hints and I've been embracing the stricter/more staticky typing of PHP 8. I wish Laravel would also throw away some of its magic *debugger()* statements in Eloquent relationship methods and the many *__get()* / *__set()* methods. The new JIT provides a good amount of performance but the dynamic magic of the frameworks trip it up
@aarondfrancis5 ай бұрын
You can just add a type comment to tell PHP Storm that it's an instance of Browser and you get it all back
@sinaahmadpour31805 ай бұрын
Short yet beneficial ❤ And not wasting time on thumbnails 😜
@MohammadRoshandelpoor5 ай бұрын
thanks amazing keep it up دمت گرم
@thewizardguy13375 ай бұрын
bro, black cherry zevia, their only actual flavor imo still has the aftertaste, but much more tolerable imo