| 1 | <?php |
||
| 12 | class Aggregate extends FieldAnonymizerVisitor |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var \Netgen\InformationCollection\API\Persistence\Anonymizer\Visitor\FieldAnonymizerVisitor[] |
||
| 16 | */ |
||
| 17 | protected $visitors; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Aggregate constructor. |
||
| 21 | * |
||
| 22 | * @param array $visitors |
||
| 23 | */ |
||
| 24 | public function __construct(array $visitors = []) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param \Netgen\InformationCollection\API\Persistence\Anonymizer\Visitor\FieldAnonymizerVisitor $visitor |
||
| 33 | */ |
||
| 34 | public function addVisitor(FieldAnonymizerVisitor $visitor) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritdoc} |
||
| 41 | */ |
||
| 42 | public function accept(EzInfoCollectionAttribute $ezInfoCollectionAttribute, ContentType $contentType): bool |
||
| 46 | |||
| 47 | /** |
||
| 48 | * {@inheritdoc} |
||
| 49 | */ |
||
| 50 | public function visit(EzInfoCollectionAttribute $ezInfoCollectionAttribute, ContentType $contentType): string |
||
| 62 | } |
||
| 63 |