laravel collect map code example Example: collection methods laravel $collection->each(function ($item, $key) { hj });