feat: cli command to anonymize local database
This commit is contained in:
1 parent
66d0f511df
commit
80569e0977
7 files changed
+786
No files matched your search
@@ -164,6 +164,20 @@ class BookingEditDraft
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Replaces the form data without touching timestamps.
|
||||
*
|
||||
* Used by anonymization tooling that must not alter audit dates.
|
||||
*
|
||||
* @param array<string, mixed> $formData
|
||||
*/
|
||||
public function replaceFormData(array $formData): static
|
||||
{
|
||||
$this->formData = $formData;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getCreatedAt(): \DateTimeImmutable
|
||||
{
|
||||
return $this->createdAt;
|
||||
|
||||
Reference in new issue
Block a user