Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F120836588
ListCommand.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
758 B
Referenced Files
None
Subscribers
None
ListCommand.php
View Options
<?php
namespace
App\Console\Commands\AuthAttempt
;
use
App\Console\Command
;
use
App\AuthAttempt
;
class
ListCommand
extends
Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected
$signature
=
'authattempt:list'
;
/**
* The console command description.
*
* @var string
*/
protected
$description
=
'List auth attempts'
;
/**
* Execute the console command.
*
* @return mixed
*/
public
function
handle
()
{
$authAttempts
=
AuthAttempt
::
orderBy
(
'last_seen'
);
$authAttempts
->
each
(
function
(
$authAttempt
)
{
$this
->
info
(
$authAttempt
->
toJson
(
JSON_PRETTY_PRINT
));
}
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Apr 24, 1:32 PM (1 d, 2 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
98/5d/92cd158fb27852bf43d675d5f9d1
Default Alt Text
ListCommand.php (758 B)
Attached To
Mode
rK kolab
Attached
Detach File
Event Timeline