Created
March 8, 2022 05:33
-
-
Save daugaard47/a475742218aa86636c8f3df61946b5f0 to your computer and use it in GitHub Desktop.
CodeCourse DD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^ App\Models\Variation {#1517 ▼ | |
#connection: "mysql" | |
#table: "variations" | |
#primaryKey: "id" | |
#keyType: "int" | |
+incrementing: true | |
#with: [] | |
#withCount: [] | |
+preventsLazyLoading: false | |
#perPage: 15 | |
+exists: true | |
+wasRecentlyCreated: false | |
#escapeWhenCastingToString: false | |
#attributes: array:10 [▼ | |
"id" => 3 | |
"product_id" => 1 | |
"title" => "10" | |
"price" => 15000 | |
"type" => "size" | |
"sku" => "abc1" | |
"parent_id" => 1 | |
"order" => 1 | |
"created_at" => "2022-02-19 02:59:04" | |
"updated_at" => "2022-02-19 02:59:04" | |
] | |
#original: array:13 [▶] | |
#changes: [] | |
#casts: [] | |
#classCastCache: [] | |
#attributeCastCache: [] | |
#dates: [] | |
#dateFormat: null | |
#appends: [] | |
#dispatchesEvents: [] | |
#observables: [] | |
#relations: array:1 [▼ | |
"pivot" => Illuminate\Database\Eloquent\Relations\Pivot {#1596 ▼ | |
#connection: "mysql" | |
#table: "cart_variation" | |
#primaryKey: "id" | |
#keyType: "int" | |
+incrementing: false | |
#with: [] | |
#withCount: [] | |
+preventsLazyLoading: false | |
#perPage: 15 | |
+exists: true | |
+wasRecentlyCreated: false | |
#escapeWhenCastingToString: false | |
#attributes: array:3 [▼ | |
"cart_id" => 4 | |
"variation_id" => 3 | |
"quantity" => 1 | |
] | |
#original: array:3 [▶] | |
#changes: [] | |
#casts: [] | |
#classCastCache: [] | |
#attributeCastCache: [] | |
#dates: [] | |
#dateFormat: null | |
#appends: [] | |
#dispatchesEvents: [] | |
#observables: [] | |
#relations: [] | |
#touches: [] | |
+timestamps: false | |
#hidden: [] | |
#visible: [] | |
#fillable: [] | |
#guarded: [] | |
+pivotParent: App\Models\Cart {#1555 ▼ | |
#connection: "mysql" | |
#table: "carts" | |
#primaryKey: "id" | |
#keyType: "int" | |
+incrementing: true | |
#with: [] | |
#withCount: [] | |
+preventsLazyLoading: false | |
#perPage: 15 | |
+exists: true | |
+wasRecentlyCreated: false | |
#escapeWhenCastingToString: false | |
#attributes: array:5 [▼ | |
"id" => 4 | |
"uuid" => "b7503ddd-ec2d-4cb4-82c0-54b37b8690af" | |
"user_id" => null | |
"created_at" => "2022-03-08 04:28:08" | |
"updated_at" => "2022-03-08 04:28:08" | |
] | |
#original: array:5 [▶] | |
#changes: [] | |
#casts: [] | |
#classCastCache: [] | |
#attributeCastCache: [] | |
#dates: [] | |
#dateFormat: null | |
#appends: [] | |
#dispatchesEvents: [] | |
#observables: [] | |
#relations: array:1 [▼ | |
"variations" => Staudenmeir\LaravelAdjacencyList\Eloquent\Collection {#1557 ▼ | |
#items: array:1 [▼ | |
0 => App\Models\Variation {#1517} | |
] | |
#escapeWhenCastingToString: false | |
} | |
] | |
#touches: [] | |
+timestamps: true | |
#hidden: [] | |
#visible: [] | |
#fillable: [] | |
#guarded: array:1 [▶] | |
} | |
#foreignKey: "cart_id" | |
#relatedKey: "variation_id" | |
} | |
] | |
#touches: [] | |
+timestamps: true | |
#hidden: [] | |
#visible: [] | |
#fillable: [] | |
#guarded: array:1 [▶] | |
+mediaConversions: [] | |
+mediaCollections: [] | |
#deletePreservingMedia: false | |
#unAttachedMediaLibraryItems: [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment