26 lines
410 B
PHP
26 lines
410 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Notifications;
|
||
|
|
||
|
use Illuminate\Notifications\Notifiable;
|
||
|
|
||
|
class Backups
|
||
|
{
|
||
|
use Notifiable;
|
||
|
|
||
|
public function routeNotificationForMail()
|
||
|
{
|
||
|
return setting('general.admin_email');
|
||
|
}
|
||
|
|
||
|
public function routeNotificationForSlack()
|
||
|
{
|
||
|
return config('backup.notifications.slack.webhook_url');
|
||
|
}
|
||
|
|
||
|
public function getKey()
|
||
|
{
|
||
|
return 1;
|
||
|
}
|
||
|
}
|