SettingCreated::class, 'deleted' => SettingDeleted::class, 'updated' => SettingUpdated::class, ]; /** * The table associated with the model. * * @var string */ protected $table = Setting::TABLE; /** * The primary key associated with the table. * * @var string */ protected $primaryKey = Setting::ATTRIBUTE_ID; /** * Get name. * * @return string */ public function getName(): string { return $this->key; } }