mercredi 30 janvier 2019

How to get value Auth::User() array elements in Laravel

I want to get elements in Auth::User() Array in page.Blade.php. After .output array show many elements like

  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's not work for me . please tell me how to get this.Many Thanks in Advance.



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2HG4SJU
via IFTTT

Aucun commentaire:

Enregistrer un commentaire