Skip to content

Instantly share code, notes, and snippets.

@ambrosiora
Last active February 5, 2020 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ambrosiora/586c6f01b1f74a59f4c40b6ccb7eecae to your computer and use it in GitHub Desktop.
Save ambrosiora/586c6f01b1f74a59f4c40b6ccb7eecae to your computer and use it in GitHub Desktop.
/var/www/html/app/Http/Controllers/AuthController.php:55:
array (size=8)
'id' => int 1
'nome' => string 'usuário teste' (length=14)
'email' => string 'uteste@gmail.com' (length=16)
'ativo' => int 1
'created_at' => string '2020-02-05 14:54:44' (length=19)
'updated_at' => string '2020-02-05 14:54:44' (length=19)
'sistemas' =>
array (size=2)
0 =>
array (size=9)
'id' => int 1
'slug' => string 'accounts' (length=8)
'nome' => string 'Eadstock Accounts' (length=17)
'descricao' => string 'Gerenciador de contas de usuários' (length=34)
'subdominio' => string 'accounts.eadstock.com.br' (length=24)
'ativo' => int 1
'created_at' => string '2020-02-05 14:54:44' (length=19)
'updated_at' => string '2020-02-05 14:54:44' (length=19)
'pivot' =>
array (size=3)
...
1 =>
array (size=9)
'id' => int 2
'slug' => string 'links' (length=5)
'nome' => string 'Eadstock Links' (length=14)
'descricao' => string 'Encurtador e gerenciador de links, funcionando juntamente com redirecionador go.eadstock.com.br' (length=95)
'subdominio' => string 'links.eadstock.com.br' (length=21)
'ativo' => int 1
'created_at' => string '2020-02-05 14:54:44' (length=19)
'updated_at' => string '2020-02-05 14:54:44' (length=19)
'pivot' =>
array (size=3)
...
'papel_usuarios' =>
array (size=2)
0 =>
array (size=7)
'id' => int 3
'nome' => string 'user' (length=4)
'descricao' => string 'Usuário normal do sistema' (length=26)
'ativo' => int 1
'created_at' => string '2020-02-05 14:54:44' (length=19)
'updated_at' => string '2020-02-05 14:54:44' (length=19)
'pivot' =>
array (size=3)
...
1 =>
array (size=7)
'id' => int 3
'nome' => string 'user' (length=4)
'descricao' => string 'Usuário normal do sistema' (length=26)
'ativo' => int 1
'created_at' => string '2020-02-05 14:54:44' (length=19)
'updated_at' => string '2020-02-05 14:54:44' (length=19)
'pivot' =>
array (size=3)
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment