Joli\JoliNotif\Exception\InvalidNotificationException::__construct PHP Method

__construct() public method

public __construct ( Joli\JoliNotif\Notification $notification, $message = '', $code, Exception $previous = null )
$notification Joli\JoliNotif\Notification
$previous Exception
    public function __construct(Notification $notification, $message = '', $code = 0, Exception $previous = null)
    {
        $this->notification = $notification;
        parent::__construct($message, $code, $previous);
    }
InvalidNotificationException