Contao Utils Bundle

AnonymizeUtil
in package

Table of Contents

Methods

anonymizeEmail()  : string
Returns an anonymized email address.

Methods

anonymizeEmail()

Returns an anonymized 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
Return values
string

The anonymized email address


        
On this page

Search results