1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 13:42:49 +01:00
invoiceninja/app/Notifications/Ninja/VerifyUser.php

80 lines
1.6 KiB
PHP
Raw Normal View History

2020-03-11 00:40:10 +01:00
<?php
2020-09-21 12:54:58 +02:00
/**
* Invoice Ninja (https://invoiceninja.com).
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
2022-04-27 05:20:41 +02:00
* @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
2020-09-21 12:54:58 +02:00
*
2021-06-16 08:58:16 +02:00
* @license https://www.elastic.co/licensing/elastic-license
2020-09-21 12:54:58 +02:00
*/
2020-03-11 00:40:10 +01:00
namespace App\Notifications\Ninja;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
2020-03-11 00:40:10 +01:00
2021-02-15 01:49:34 +01:00
//@deprecated
class VerifyUser extends Notification
2020-03-11 00:40:10 +01:00
{
// use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
2020-03-11 00:40:10 +01:00
/**
* Create a new notification instance.
*
* @return void
*/
protected $user;
private $company;
public function __construct($user, $company)
2020-03-11 00:40:10 +01:00
{
$this->user = $user;
$this->company = $company;
2020-03-11 00:40:10 +01:00
}
/**
* Get the notification's delivery channels.
*
* @param mixed $notifiable
* @return array
*/
public function via($notifiable)
{
2021-02-14 21:55:09 +01:00
return [''];
2020-03-11 00:40:10 +01:00
}
/**
* Get the mail representation of the notification.
*
* @param mixed $notifiable
2020-10-28 11:10:49 +01:00
* @return MailMessage
2020-03-11 00:40:10 +01:00
*/
public function toMail($notifiable)
{
}
/**
* Get the array representation of the notification.
*
* @param mixed $notifiable
* @return array
*/
public function toArray($notifiable)
{
return [
//
];
}
public function toSlack($notifiable)
{
}
}