File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,14 +14,18 @@ Provides an annotation for anonymizing objects based on specific anonymization t
1414## Registering new anonymizers
1515
1616You can create your own anonymizers and register them in the compiler pass by tagging the service:
17+ The ` type ` parameter specifies the name to be used in the ` type ` parameter of the annotation.
1718
1819``` yml
19- your_bundle_name.your_anonymizer :
20+ your_bundle_name.your_anonymizer:`
2021 class : Your\Class\To\Your\Anonymizer
2122 tags :
2223 - { name: superbrave_gdpr.anonymizer, type: your_type }
2324` ` `
2425
26+ The examle above will register a anonymizer with the name ` your_type`.
27+ You can then use it as follows ```@GDPR\Anonymize(type="your_type")```
28+
2529# # Usage
2630
2731You can anonymize objects by using the anonymizer service :
You can’t perform that action at this time.
0 commit comments