collection controller laravel code example Example: laravel collection namespace Illuminate\Database\Eloquent\Collection