generated from glhd/laravel-package-template
-
Notifications
You must be signed in to change notification settings - Fork 14
/
eloquent-model.diff
112 lines (112 loc) · 2.64 KB
/
eloquent-model.diff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
--- Before 2022-01-24 09:44:05.000000000 -0500
+++ After 2022-01-24 09:44:05.000000000 -0500
@@ -1,25 +1,28 @@
Glhd\LaravelDumper\Tests\User {
- #guarded: []
- #connection: "testing"
- #table: "users"
- #primaryKey: "id"
- #keyType: "int"
- +incrementing: true
- #with: []
- #withCount: []
- +preventsLazyLoading: false
- #perPage: 15
+ +"id": 1
+ +"company_id": 1
+ +"email": "[email protected]"
+ +"name": "Chris"
+ +"created_at": "2022-01-24 09:44:05"
+ +"updated_at": "2022-01-24 09:44:05"
+ isDirty(): true
+exists: true
+wasRecentlyCreated: true
- #escapeWhenCastingToString: false
- #attributes: array:6 [
- "name" => "Chris"
- "email" => "[email protected]"
- "company_id" => 1
- "updated_at" => "2022-01-24 09:44:05"
- "created_at" => "2022-01-24 09:44:05"
- "id" => 1
+ #relations: array:1 [
+ "company" => Glhd\LaravelDumper\Tests\Company {
+ +"id": 1
+ +"name": "Galahad"
+ +"created_at": "2022-01-24 09:44:05"
+ +"updated_at": "2022-01-24 09:44:05"
+ isDirty(): false
+ +exists: true
+ +wasRecentlyCreated: true
+ #relations: []
+ …27
+ }
]
+ #connection: "testing"
+ #table: "users"
#original: array:6 [
"name" => "John"
"email" => "[email protected]"
@@ -29,61 +32,5 @@
"id" => 1
]
#changes: []
- #casts: []
- #classCastCache: []
- #attributeCastCache: []
- #dates: []
- #dateFormat: null
- #appends: []
- #dispatchesEvents: []
- #observables: []
- #relations: array:1 [
- "company" => Glhd\LaravelDumper\Tests\Company {
- #guarded: []
- #connection: "testing"
- #table: "companies"
- #primaryKey: "id"
- #keyType: "int"
- +incrementing: true
- #with: []
- #withCount: []
- +preventsLazyLoading: false
- #perPage: 15
- +exists: true
- +wasRecentlyCreated: true
- #escapeWhenCastingToString: false
- #attributes: array:4 [
- "name" => "Galahad"
- "updated_at" => "2022-01-24 09:44:05"
- "created_at" => "2022-01-24 09:44:05"
- "id" => 1
- ]
- #original: array:4 [
- "name" => "Galahad"
- "updated_at" => "2022-01-24 09:44:05"
- "created_at" => "2022-01-24 09:44:05"
- "id" => 1
- ]
- #changes: []
- #casts: []
- #classCastCache: []
- #attributeCastCache: []
- #dates: []
- #dateFormat: null
- #appends: []
- #dispatchesEvents: []
- #observables: []
- #relations: []
- #touches: []
- +timestamps: true
- #hidden: []
- #visible: []
- #fillable: []
- }
- ]
- #touches: []
- +timestamps: true
- #hidden: []
- #visible: []
- #fillable: []
+ …23
}