Convenient functional programming with PHP becomes closer and closer. At least for Eloquent collections. Do you like this smart determining of parameter type? Version 5.0 will be fantastic!
5
13
130
0
10
Download Gif
@laravel_idea Is it possible to have the function automatically type hinted too? `fn(User $user) => $user->email`?
@laravel_idea It sounds like a good idea, but wouldn’t it be less performatic than using where() for the condition and select() for the column selection?
@laravel_idea Is it pulling the fields directly from the migration? 🤑🤑
@laravel_idea Any plans to add model factories as an option when generating models?