related; } /** * Get the foreign model. * * @return TModelForeign */ public function getForeign(): BaseModel { return $this->foreign; } /** * Get Discord channel the message will be sent to. * * @return string */ public function getDiscordChannel(): string { return Config::get(ServiceConstants::DB_UPDATES_DISCORD_CHANNEL_QUALIFIED); } /** * Determine if the message should be sent. * * @return bool */ public function shouldSendDiscordMessage(): bool { return true; } /** * Get the description for the Discord message payload. * * @return string */ abstract protected function getDiscordMessageDescription(): string; }