laravel resources iterate collection for new value code example Example: laravel collection namespace Illuminate\Database\Eloquent\Collection