Controller/Frontend/ResettingController.php
protected function getObfuscatedEmail(CustomerInterface $user)
    {
        $email = $user->getEmail();
        if (false !== $pos = strpos($email, '@')) {
            $email = '...' . substr($email, $pos);
        }

        return $email;
    }
protected function getObfuscatedEmail(CustomerInterface $user)
    {
        $email = $user->getEmail();
        if (false !== $pos = strpos($email, '@')) {
            $email = '...' . substr($email, $pos);
        }

        return $email;
    }
protected function getObfuscatedEmail ( CustomerInterface $ user ) { $ email = $ user -> getEmail ( ) ; if ( false !== $ pos = strpos ( $ email , '@' ) ) { $ email = '...' . substr ( $ email , $ pos ) ; } return $ email ; }
Get the truncated email displayed when requesting the resetting.

The default implementation only keeps the part following @ in the address.

@param \FOS\UserBundle\Model\UserInterface $user

@return string
Get the truncated email displayed when requesting the resetting .