src/Notifications/Notifications/CertificateCheckFailed.php 1 location
|
@@ 23-35 (lines=13) @@
|
20 |
|
* @param mixed $notifiable |
21 |
|
* @return \Illuminate\Notifications\Messages\MailMessage |
22 |
|
*/ |
23 |
|
public function toMail($notifiable) |
24 |
|
{ |
25 |
|
$mailMessage = (new MailMessage) |
26 |
|
->error() |
27 |
|
->subject($this->getMessageText()) |
28 |
|
->line($this->getMessageText()); |
29 |
|
|
30 |
|
foreach ($this->getMonitorProperties() as $name => $value) { |
31 |
|
$mailMessage->line($name.': '.$value); |
32 |
|
} |
33 |
|
|
34 |
|
return $mailMessage; |
35 |
|
} |
36 |
|
|
37 |
|
public function toSlack($notifiable) |
38 |
|
{ |
src/Notifications/Notifications/CertificateCheckSucceeded.php 1 location
|
@@ 23-34 (lines=12) @@
|
20 |
|
* @param mixed $notifiable |
21 |
|
* @return \Illuminate\Notifications\Messages\MailMessage |
22 |
|
*/ |
23 |
|
public function toMail($notifiable) |
24 |
|
{ |
25 |
|
$mailMessage = (new MailMessage) |
26 |
|
->subject($this->getMessageText()) |
27 |
|
->line($this->getMessageText()); |
28 |
|
|
29 |
|
foreach ($this->getMonitorProperties() as $name => $value) { |
30 |
|
$mailMessage->line($name.': '.$value); |
31 |
|
} |
32 |
|
|
33 |
|
return $mailMessage; |
34 |
|
} |
35 |
|
|
36 |
|
public function toSlack($notifiable) |
37 |
|
{ |
src/Notifications/Notifications/CertificateExpiresSoon.php 1 location
|
@@ 23-35 (lines=13) @@
|
20 |
|
* @param mixed $notifiable |
21 |
|
* @return \Illuminate\Notifications\Messages\MailMessage |
22 |
|
*/ |
23 |
|
public function toMail($notifiable) |
24 |
|
{ |
25 |
|
$mailMessage = (new MailMessage) |
26 |
|
->error() |
27 |
|
->subject($this->getMessageText()) |
28 |
|
->line($this->getMessageText()); |
29 |
|
|
30 |
|
foreach ($this->getMonitorProperties() as $name => $value) { |
31 |
|
$mailMessage->line($name.': '.$value); |
32 |
|
} |
33 |
|
|
34 |
|
return $mailMessage; |
35 |
|
} |
36 |
|
|
37 |
|
public function toSlack($notifiable) |
38 |
|
{ |
src/Notifications/Notifications/UptimeCheckFailed.php 1 location
|
@@ 24-37 (lines=14) @@
|
21 |
|
* @param mixed $notifiable |
22 |
|
* @return \Illuminate\Notifications\Messages\MailMessage |
23 |
|
*/ |
24 |
|
public function toMail($notifiable) |
25 |
|
{ |
26 |
|
$mailMessage = (new MailMessage) |
27 |
|
->error() |
28 |
|
->subject($this->getMessageText()) |
29 |
|
->line($this->getMessageText()) |
30 |
|
->line($this->getLocationDescription()); |
31 |
|
|
32 |
|
foreach ($this->getMonitorProperties() as $name => $value) { |
33 |
|
$mailMessage->line($name.': '.$value); |
34 |
|
} |
35 |
|
|
36 |
|
return $mailMessage; |
37 |
|
} |
38 |
|
|
39 |
|
public function toSlack($notifiable) |
40 |
|
{ |
src/Notifications/Notifications/UptimeCheckRecovered.php 1 location
|
@@ 24-37 (lines=14) @@
|
21 |
|
* @param mixed $notifiable |
22 |
|
* @return \Illuminate\Notifications\Messages\MailMessage |
23 |
|
*/ |
24 |
|
public function toMail($notifiable) |
25 |
|
{ |
26 |
|
$mailMessage = (new MailMessage) |
27 |
|
->success() |
28 |
|
->subject($this->getMessageText()) |
29 |
|
->line($this->getMessageText()) |
30 |
|
->line($this->getLocationDescription()); |
31 |
|
|
32 |
|
foreach ($this->getMonitorProperties() as $name => $value) { |
33 |
|
$mailMessage->line($name.': '.$value); |
34 |
|
} |
35 |
|
|
36 |
|
return $mailMessage; |
37 |
|
} |
38 |
|
|
39 |
|
public function toSlack($notifiable) |
40 |
|
{ |
src/Notifications/Notifications/UptimeCheckSucceeded.php 1 location
|
@@ 24-36 (lines=13) @@
|
21 |
|
* @param mixed $notifiable |
22 |
|
* @return \Illuminate\Notifications\Messages\MailMessage |
23 |
|
*/ |
24 |
|
public function toMail($notifiable) |
25 |
|
{ |
26 |
|
$mailMessage = (new MailMessage) |
27 |
|
->subject($this->getMessageText()) |
28 |
|
->line($this->getMessageText()) |
29 |
|
->line($this->getLocationDescription()); |
30 |
|
|
31 |
|
foreach ($this->getMonitorProperties() as $name => $value) { |
32 |
|
$mailMessage->line($name.': '.$value); |
33 |
|
} |
34 |
|
|
35 |
|
return $mailMessage; |
36 |
|
} |
37 |
|
|
38 |
|
public function toSlack($notifiable) |
39 |
|
{ |