1 | <?php |
||
10 | class IntegerNet_Anonymizer_Model_Bridge_Entity_NewsletterSubscriber |
||
|
|||
11 | extends IntegerNet_Anonymizer_Model_Bridge_Entity_Abstract |
||
12 | { |
||
13 | |||
14 | protected $_attributesUsedForIdentifier = array( |
||
15 | 'customer_id' |
||
16 | ); |
||
17 | protected $_formattersByAttribute = array( |
||
18 | 'subscriber_email' => 'safeEmail', |
||
19 | ); |
||
20 | |||
21 | function __construct() |
||
26 | |||
27 | function isAnonymizable() |
||
31 | |||
32 | /** |
||
33 | * Sets identifier based on current entity |
||
34 | * |
||
35 | * @return void |
||
36 | */ |
||
37 | protected function _setIdentifier() |
||
41 | |||
42 | /** |
||
43 | * Returns name of entity as translatable string |
||
44 | * |
||
45 | * @return string |
||
46 | */ |
||
47 | function getEntityName() |
||
51 | |||
52 | |||
53 | } |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.