29 lines
465 B
PHP
29 lines
465 B
PHP
<?php
|
|
|
|
namespace App\Console\Commands\Services\Tasks;
|
|
|
|
use App\Console\Commands\Nuh;
|
|
use App\Models\User;
|
|
use App\Utilities\Notice;
|
|
|
|
class NotifyAlarms
|
|
{
|
|
public static function run()
|
|
{
|
|
$debug = Nuh::$options['d'] ?? 0;
|
|
|
|
if ($debug) {
|
|
Notice::note('Notify Alarms', 'b');
|
|
}
|
|
|
|
/**
|
|
* USER
|
|
*/
|
|
$users = User::all();
|
|
|
|
foreach ($users as $user) {
|
|
dd($user);
|
|
}
|
|
}
|
|
}
|