mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-20 02:11:36 +00:00
26 lines
485 B
PHP
26 lines
485 B
PHP
<?php
|
|
|
|
namespace App\NotificationChannels\Email;
|
|
|
|
use Illuminate\Bus\Queueable;
|
|
use Illuminate\Mail\Mailable;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class NotificationMail extends Mailable
|
|
{
|
|
use Queueable, SerializesModels;
|
|
|
|
public string $text;
|
|
|
|
public function __construct(string $subject, string $text)
|
|
{
|
|
$this->subject = $subject;
|
|
$this->text = $text;
|
|
}
|
|
|
|
public function build(): self
|
|
{
|
|
return $this->html($this->text);
|
|
}
|
|
}
|