Skip to content

Commit 975d2f4

Browse files
author
Tom Schillemans
committed
Merge branch '0.2.0-readme' of https://github.com/superbrave/gdpr-bundle into 0.2.0-readme
2 parents 0ddff6c + 0a246df commit 975d2f4

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
@@ -52,6 +52,8 @@ Setting a fixed value for the property.
5252
use SuperBrave\GdprBundle\Annotation as GDPR;
5353
5454
/**
55+
* @var string
56+
*
5557
* @GDPR\Anonymize(type="fixed", value="anonymized")
5658
*/
5759
protected $value;
@@ -72,6 +74,8 @@ If the checks above both failed it resorts back to a ReflectionProperty
7274
use SuperBrave\GdprBundle\Annotation as GDPR;
7375
7476
/**
77+
* @var string
78+
*
7579
* @GDPR\Anonymize(type="fixed", value="firstName-{id}")
7680
*/
7781
protected $firstName;
@@ -87,6 +91,8 @@ Anonymizes the date time field by setting the month and day to 01 and hours, min
8791
use SuperBrave\GdprBundle\Annotation as GDPR;
8892
8993
/**
94+
* @var \DateTimeInterface|string|int
95+
*
9096
* @GDPR\Anonymize(type="dateTime")
9197
*/
9298
protected $createdAt;
@@ -102,6 +108,8 @@ Anonymizes the ip address by zeroing the last bytes of an ipv4 or ipv6 address.
102108
use SuperBrave\GdprBundle\Annotation as GDPR;
103109
104110
/**
111+
* @var string
112+
*
105113
* @GDPR\Anonymize(type="ip")
106114
*/
107115
protected $ipAddress;
@@ -117,6 +125,8 @@ Anonymizes the property by setting it to null.
117125
use SuperBrave\GdprBundle\Annotation as GDPR;
118126
119127
/**
128+
* @var mixed
129+
*
120130
* @GDPR\Anonymize(type="null")
121131
*/
122132
protected $city;

0 commit comments

Comments
 (0)