Illuminate\Database\Eloquent\Collection {#1042 #items: array:2 [ 0 => App\Models\Image {#639 #connection: "mysql" #table: "images" #primaryKey: "id" #keyType: "int" +incrementing: true #with: [] #withCount: [] +preventsLazyLoading: false #perPage: 15 +exists: true +wasRecentlyCreated: false #escapeWhenCastingToString: false #attributes: array:6 [ "id" => 3 "path" => "https://via.placeholder.com/640x480.png/0033dd?text=aut" "imageable_type" => "App\Models\User" "imageable_id" => 1 "created_at" => "2023-01-06 10:47:24" "updated_at" => "2023-01-06 10:47:24" ] #original: array:9 [ "id" => 3 "path" => "https://via.placeholder.com/640x480.png/0033dd?text=aut" "imageable_type" => "App\Models\User" "imageable_id" => 1 "created_at" => "2023-01-06 10:47:24" "updated_at" => "2023-01-06 10:47:24" "pivot_user_id" => 3 "pivot_likeable_id" => 3 "pivot_likeable_type" => "App\Models\Image" ] #changes: [] #casts: [] #classCastCache: [] #attributeCastCache: [] #dates: [] #dateFormat: null #appends: [] #dispatchesEvents: [] #observables: [] #relations: array:1 [ "pivot" => Illuminate\Database\Eloquent\Relations\MorphPivot {#1256 #morphType: "likeable_type" #morphClass: "App\Models\Image" +incrementing: false #guarded: [] #connection: "mysql" #table: "likeables" #primaryKey: "id" #keyType: "int" #with: [] #withCount: [] +preventsLazyLoading: false #perPage: 15 +exists: true +wasRecentlyCreated: false #escapeWhenCastingToString: false #attributes: array:3 [ "user_id" => 3 "likeable_id" => 3 "likeable_type" => "App\Models\Image" ] #original: array:3 [ "user_id" => 3 "likeable_id" => 3 "likeable_type" => "App\Models\Image" ] #changes: [] #casts: [] #classCastCache: [] #attributeCastCache: [] #dates: [] #dateFormat: null #appends: [] #dispatchesEvents: [] #observables: [] #relations: [] #touches: [] +timestamps: false #hidden: [] #visible: [] #fillable: [] +pivotParent: App\Models\User {#1257 #fillable: array:3 [ 0 => "name" 1 => "email" 2 => "password" ] #hidden: array:2 [ 0 => "password" 1 => "remember_token" ] #casts: array:2 [ "email_verified_at" => "datetime" "meta" => "json" ] #connection: "mysql" #table: "users" #primaryKey: "id" #keyType: "int" +incrementing: true #with: [] #withCount: [] +preventsLazyLoading: false #perPage: 15 +exists: true +wasRecentlyCreated: false #escapeWhenCastingToString: false #attributes: array:10 [ "id" => 3 "name" => "Karen Raynor" "email" => "lambert47@example.org" "email_verified_at" => "2023-01-06 10:47:24" "password" => "$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi" "company_id" => 6 "meta" => "{"gender": "Male", "skills": ["Joomla", "VueJS", "PHP 7", "CSS"], "settings": {"site_language": "en", "site_background": "black"}}" "remember_token" => "t508TvwkBv" "created_at" => "2023-01-06 10:47:24" "updated_at" => "2023-01-06 10:47:24" ] #original: array:10 [ "id" => 3 "name" => "Karen Raynor" "email" => "lambert47@example.org" "email_verified_at" => "2023-01-06 10:47:24" "password" => "$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi" "company_id" => 6 "meta" => "{"gender": "Male", "skills": ["Joomla", "VueJS", "PHP 7", "CSS"], "settings": {"site_language": "en", "site_background": "black"}}" "remember_token" => "t508TvwkBv" "created_at" => "2023-01-06 10:47:24" "updated_at" => "2023-01-06 10:47:24" ] #changes: [] #classCastCache: [] #attributeCastCache: [] #dates: [] #dateFormat: null #appends: [] #dispatchesEvents: [] #observables: [] #relations: array:1 [ "likedImages" => Illuminate\Database\Eloquent\Collection {#1042} ] #touches: [] +timestamps: true #visible: [] #guarded: array:1 [ 0 => "*" ] #rememberTokenName: "remember_token" #accessToken: null } #foreignKey: "user_id" #relatedKey: "likeable_id" } ] #touches: [] +timestamps: true #hidden: [] #visible: [] #fillable: [] #guarded: array:1 [ 0 => "*" ] } 1 => App\Models\Image {#1108 #connection: "mysql" #table: "images" #primaryKey: "id" #keyType: "int" +incrementing: true #with: [] #withCount: [] +preventsLazyLoading: false #perPage: 15 +exists: true +wasRecentlyCreated: false #escapeWhenCastingToString: false #attributes: array:6 [ "id" => 7 "path" => "https://via.placeholder.com/640x480.png/00cc44?text=dolorem" "imageable_type" => "App\Models\City" "imageable_id" => 1 "created_at" => "2023-01-06 10:47:24" "updated_at" => "2023-01-06 10:47:24" ] #original: array:9 [ "id" => 7 "path" => "https://via.placeholder.com/640x480.png/00cc44?text=dolorem" "imageable_type" => "App\Models\City" "imageable_id" => 1 "created_at" => "2023-01-06 10:47:24" "updated_at" => "2023-01-06 10:47:24" "pivot_user_id" => 3 "pivot_likeable_id" => 7 "pivot_likeable_type" => "App\Models\Image" ] #changes: [] #casts: [] #classCastCache: [] #attributeCastCache: [] #dates: [] #dateFormat: null #appends: [] #dispatchesEvents: [] #observables: [] #relations: array:1 [ "pivot" => Illuminate\Database\Eloquent\Relations\MorphPivot {#1043 #morphType: "likeable_type" #morphClass: "App\Models\Image" +incrementing: false #guarded: [] #connection: "mysql" #table: "likeables" #primaryKey: "id" #keyType: "int" #with: [] #withCount: [] +preventsLazyLoading: false #perPage: 15 +exists: true +wasRecentlyCreated: false #escapeWhenCastingToString: false #attributes: array:3 [ "user_id" => 3 "likeable_id" => 7 "likeable_type" => "App\Models\Image" ] #original: array:3 [ "user_id" => 3 "likeable_id" => 7 "likeable_type" => "App\Models\Image" ] #changes: [] #casts: [] #classCastCache: [] #attributeCastCache: [] #dates: [] #dateFormat: null #appends: [] #dispatchesEvents: [] #observables: [] #relations: [] #touches: [] +timestamps: false #hidden: [] #visible: [] #fillable: [] +pivotParent: App\Models\User {#1257} #foreignKey: "user_id" #relatedKey: "likeable_id" } ] #touches: [] +timestamps: true #hidden: [] #visible: [] #fillable: [] #guarded: array:1 [ 0 => "*" ] } ] #escapeWhenCastingToString: false }