I want to get array elements value in Auth::User(). After
{{dd(Auth::User()}} output of array shows many elements:
Admin {#474 ▼
#guard: "admin"
#fillable: array:4 [▶]
#hidden: array:2 [▶]
#connection: "mysql"
#table: null
#primaryKey: "id"
#keyType: "int"
+incrementing: true
#with: []
I'm trying to access using Auth::user()->guard; this but it does not work for me. Please tell me how to get this. Many Thanks in Advance.