App\Services\Notification\MailNotifier::notify PHP Method

notify() public method

Send notification.
public notify ( string $subject, string $message ) : void
$subject string The subject of notification
$message string The message of notification
return void
    public function notify($subject, $message)
    {
        Mail::raw($message, function ($m) use($subject) {
            $m->to($this->to)->subject($subject);
        });
    }