Services/AzineTwigSwiftMailer.php
public function sendUpdateEmailConfirmation(UserInterface $user, $confirmationUrl, $toEmail)
    {
        $template = $this->parameters['template']['email_updating'];
        $fromEmail = $this->parameters['from_email']['confirmation'];
        $context = array(
            'user' => $user,
            'confirmationUrl' => $confirmationUrl,
        );

        $this->sendMessage($template, $context, $fromEmail, $toEmail);
    }
public function sendUpdateEmailConfirmation(UserInterface $user, $confirmationUrl, $toEmail)
    {
        $template = $this->parameters['template']['email_updating'];
        $fromEmail = $this->parameters['from_email']['confirmation'];
        $context = array(
            'user' => $user,
            'confirmationUrl' => $confirmationUrl,
        );

        $this->sendMessage($template, $context, $fromEmail, $toEmail);
    }
public function sendUpdateEmailConfirmation ( UserInterface $ user , $ confirmationUrl , $ toEmail ) { $ template = $ this -> parameters [ 'template' ] [ 'email_updating' ] ; $ fromEmail = $ this -> parameters [ 'from_email' ] [ 'confirmation' ] ; $ context = array ( 'user' => $ user , 'confirmationUrl' => $ confirmationUrl , ) ; $ this -> sendMessage ( $ template , $ context , $ fromEmail , $ toEmail ) ; }
Send confirmation link to specified new user email.

@param UserInterface $user
@param $confirmationUrl
@param $toEmail

@return bool
Send confirmation link to specified new user email .