*/ class DumpUpdated extends AdminUpdatedEvent { /** * Create a new event instance. * * @param Dump $dump */ public function __construct(Dump $dump) { parent::__construct($dump); $this->initializeEmbedFields($dump); } /** * Get the model that has fired this event. * * @return Dump */ public function getModel(): Dump { return $this->model; } /** * Get the description for the Discord message payload. * * @return string */ protected function getDiscordMessageDescription(): string { return "Dump '**{$this->getModel()->getName()}**' has been updated."; } }