Fix comments for Echomail Notifications
This commit is contained in:
parent
ba0f643dca
commit
61cfb773e2
@ -6,11 +6,10 @@ use Illuminate\Notifications\Notification;
|
|||||||
use Illuminate\Support\Facades\Log;
|
use Illuminate\Support\Facades\Log;
|
||||||
|
|
||||||
use App\Models\Echomail;
|
use App\Models\Echomail;
|
||||||
use App\Models\Setup;
|
|
||||||
|
|
||||||
class EchomailChannel
|
class EchomailChannel
|
||||||
{
|
{
|
||||||
private const LOGKEY = 'CN-';
|
private const LOGKEY = 'CNE';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var Echomail
|
* @var Echomail
|
||||||
@ -18,7 +17,7 @@ class EchomailChannel
|
|||||||
protected Echomail $echomail;
|
protected Echomail $echomail;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new Netmail channel instance.
|
* Create a new Echomail channel instance.
|
||||||
*
|
*
|
||||||
* @param Echomail $o
|
* @param Echomail $o
|
||||||
*/
|
*/
|
||||||
|
@ -6,11 +6,10 @@ use Illuminate\Notifications\Notification;
|
|||||||
use Illuminate\Support\Facades\Log;
|
use Illuminate\Support\Facades\Log;
|
||||||
|
|
||||||
use App\Models\Netmail;
|
use App\Models\Netmail;
|
||||||
use App\Models\Setup;
|
|
||||||
|
|
||||||
class NetmailChannel
|
class NetmailChannel
|
||||||
{
|
{
|
||||||
private const LOGKEY = 'CN-';
|
private const LOGKEY = 'CNN';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var Netmail
|
* @var Netmail
|
||||||
|
@ -20,9 +20,7 @@ class AbsentNodes extends Echomails
|
|||||||
private Echomail $mo;
|
private Echomail $mo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reply to a netmail ping request.
|
* Report on nodes that are have been marked Idle.
|
||||||
*
|
|
||||||
* @param Echomail $mo
|
|
||||||
*/
|
*/
|
||||||
public function __construct(private Collection $aos)
|
public function __construct(private Collection $aos)
|
||||||
{
|
{
|
||||||
|
@ -17,18 +17,14 @@ class Test extends Echomails
|
|||||||
|
|
||||||
private const LOGKEY = 'NNP';
|
private const LOGKEY = 'NNP';
|
||||||
|
|
||||||
private Echomail $mo;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reply to a netmail ping request.
|
* Respond to a test in echomail.
|
||||||
*
|
*
|
||||||
* @param Echomail $mo
|
* @param Echomail $mo
|
||||||
*/
|
*/
|
||||||
public function __construct(Echomail $mo)
|
public function __construct(private Echomail $mo)
|
||||||
{
|
{
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
|
|
||||||
$this->mo = $mo;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user