'array', 'device_context' => 'array', 'occurred_at' => 'immutable_datetime', 'received_at' => 'immutable_datetime']; } protected static function booted(): void { static::updating(fn () => throw new \DomainException('Raw learning events are immutable.')); static::deleting(fn () => throw new \DomainException('Raw learning events are immutable.')); } }