File "NotificationCouldNotBeSent.php"

Full Path: /home/pulsehostuk9/public_html/invoicer.pulsehost.co.uk/vendor/spatie/laravel-backup/src/Exceptions/NotificationCouldNotBeSent.php
File size: 334 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Spatie\Backup\Exceptions;

use Exception;

class NotificationCouldNotBeSent extends Exception
{
    public static function noNotificationClassForEvent($event): self
    {
        $eventClass = $event::class;

        return new static("There is no notification class that can handle event `{$eventClass}`.");
    }
}