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