laravel / ideas

Issues board used for Laravel internals discussions.
938 stars 28 forks source link

Continue in collection method each #2622

Closed fabian-lu closed 3 years ago

fabian-lu commented 3 years ago

Could you please add the "continue" feature to the each() method for collections, similar to foreach loops?

themsaid commented 3 years ago

just return inside the callback.