public function onNewsletterUnsubscribeFlush(NewsletterUnsubscriptionEvent $event)
    {
        $subscription = $event->getNewsletterSubscription();

        $this->newsletterObjectManager->flush($subscription);
    }
public function onNewsletterUnsubscribeFlush(NewsletterUnsubscriptionEvent $event)
    {
        $subscription = $event->getNewsletterSubscription();

        $this->newsletterObjectManager->flush($subscription);
    }
public function onNewsletterUnsubscribeFlush ( NewsletterUnsubscriptionEvent $ event ) { $ subscription = $ event -> getNewsletterSubscription ( ) ; $ this -> newsletterObjectManager -> flush ( $ subscription ) ; }
Subscribed on newsletter unsubscription.

@param NewsletterUnsubscriptionEvent $event Event
Subscribed on newsletter unsubscription .