public function onChangeEmail(SubscriberEvent $event)
    {
        $this->listRepository->changeEmailAddress(
            $event->getListId(),
            $event->getSubscriber(),
            $event->getOldEmail()
        );
    }
public function onChangeEmail(SubscriberEvent $event)
    {
        $this->listRepository->changeEmailAddress(
            $event->getListId(),
            $event->getSubscriber(),
            $event->getOldEmail()
        );
    }
public function onChangeEmail ( SubscriberEvent $ event ) { $ this -> listRepository -> changeEmailAddress ( $ event -> getListId ( ) , $ event -> getSubscriber ( ) , $ event -> getOldEmail ( ) ) ; }
Action when a User change its email address
@param  SubscriberEvent $event
@return void
Action when a User change its email address