Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F41923501
AccountDump.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
953 B
Referenced Files
None
Subscribers
None
AccountDump.php
View Options
<?php
namespace
AuthGrove\Console\Commands
;
use
Illuminate\Console\Command
;
use
AuthGrove\User
as
User
;
class
AccountDump
extends
Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected
$signature
=
'account:dump'
;
/**
* The console command description.
*
* @var string
*/
protected
$description
=
'Dumps the accounts list.'
;
/**
* Create a new command instance.
*
* @return void
*/
public
function
__construct
()
{
parent
::
__construct
();
}
/**
* Execute the console command.
*
* @return mixed
*/
public
function
handle
()
{
$attributes
=
User
::
getDefaultAttributes
();
$headers
=
array_map
(
'
\A
uthGrove
\U
ser::localizeAttribute'
,
$attributes
);
$users
=
User
::
all
(
$attributes
)->
toArray
();
$this
->
table
(
$headers
,
$users
);
return
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Aug 8, 03:03 (1 d, 3 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3938960
Default Alt Text
AccountDump.php (953 B)
Attached To
Mode
rGROVE Auth Grove
Attached
Detach File
Event Timeline
Log In to Comment