1
hello,
I have this Session object and cannot access the arrays. How do I? Itero? Which loop would you use to have a certain arrays position?
Cart {#268 ▼
-items: array:2 [▼
2 => array:5 [▶]
1 => array:5 [▶]
]
#connection: null
#table: null
#primaryKey: "id"
#keyType: "int"
#perPage: 15
+incrementing: true
+timestamps: true
#attributes: []
#original: []
#relations: []
#hidden: []
#visible: []
#appends: []
#fillable: []
#guarded: array:1 [▶]
#dates: []
#dateFormat: null
#casts: []
#touches: []
#observables: []
#with: []
+exists: false
+wasRecentlyCreated: false
}
Put the class in your question or if the package provides the configuration
– novic