AnonymizerUtil
in package
Class AnonymizerUtil.
Table of Contents
Methods
- anonymizeEmail() : string
- Returns an ananymized email address.
Methods
anonymizeEmail()
Returns an ananymized email address.
public
anonymizeEmail(string $email) : string
If the mail address is not valid (this function only check if the string contains an @), the source string is returned.
Example: max.mustermann@example.org will be max.mus*******@example.org
Parameters
- $email : string
Tags
Return values
string —The anonymized email address