You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add options to IntegerAnonymizer to be able to anonymize int by adding noise: a delta or a percent.
#[ORM\Column]
// This will add to the value a random value between -10 and 10
#[Anonymize(type: 'integer', options: ['delta' => '10'])]
// This will add to the value a random value between -10 and 10 and will keep an absolute value
#[Anonymize(type: 'integer', options: ['delta' => '10', 'unsigned' => true])]
// This will multiply the value by a random value between 0.9 and 1.1
#[Anonymize(type: 'integer', options: ['percent' => 10])]
private ?int $age = null;
The text was updated successfully, but these errors were encountered:
Add options to IntegerAnonymizer to be able to anonymize int by adding noise: a delta or a percent.
The text was updated successfully, but these errors were encountered: