mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-27 17:24:42 +02:00
* feat(api): adding roles and permissions relations to my schema * style: fix StyleCI findings
30 lines
616 B
PHP
30 lines
616 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Events\Base\Wiki;
|
|
|
|
use App\Constants\Config\ServiceConstants;
|
|
use App\Events\Base\BaseUpdatedEvent;
|
|
use Illuminate\Support\Facades\Config;
|
|
|
|
/**
|
|
* Class WikiUpdatedEvent.
|
|
*
|
|
* @template TModel of \App\Models\BaseModel
|
|
*
|
|
* @extends BaseUpdatedEvent<TModel>
|
|
*/
|
|
abstract class WikiUpdatedEvent extends BaseUpdatedEvent
|
|
{
|
|
/**
|
|
* Get Discord channel the message will be sent to.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getDiscordChannel(): string
|
|
{
|
|
return Config::get(ServiceConstants::DB_UPDATES_DISCORD_CHANNEL_QUALIFIED);
|
|
}
|
|
}
|