Skip to content

Commit 29bcf99

Browse files
author
Jelle van Oosterbosch
committed
Added explanation per anonymization type for documentation
1 parent 4725b58 commit 29bcf99

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Resources/doc/anonymizer.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,12 @@ your_bundle_name.your_anonymizer:
2626
2727
#### Type: fixed
2828
29+
Anonymizes the property with a fixed value.
30+
2931
##### Simple fixed value
3032
33+
Setting an fixed value for the property.
34+
3135
```php
3236
<?php
3337

@@ -56,6 +60,8 @@ use SuperBrave\GdprBundle\Annotation as GDPR;
5660

5761
#### Type: dateTime
5862

63+
Anonymizes the date time field by setting the month and day to 01 and hours, minutes and seconds to 00.
64+
5965
```php
6066
<?php
6167

@@ -69,6 +75,8 @@ use SuperBrave\GdprBundle\Annotation as GDPR;
6975

7076
#### Type: ip
7177

78+
Anonymizes the ip address by zeroing the last bytes of an ipv4 or ipv6 address.
79+
7280
```php
7381
<?php
7482

@@ -82,6 +90,8 @@ use SuperBrave\GdprBundle\Annotation as GDPR;
8290

8391
#### Type: null
8492

93+
Anonymizes the property by setting it to null.
94+
8595
```php
8696
<?php
8797

0 commit comments

Comments
 (0)