public function dispatchUnsubscribeEvent(NewsletterSubscriptionInterface $newsletterSubscription)
    {
        $newsletterSubscriptionEvent = new NewsletterUnsubscriptionEvent($newsletterSubscription);
        $this->eventDispatcher->dispatch(
            ElcodiNewsletterEvents::NEWSLETTER_UNSUBSCRIBE,
            $newsletterSubscriptionEvent
        );
    }
public function dispatchUnsubscribeEvent(NewsletterSubscriptionInterface $newsletterSubscription)
    {
        $newsletterSubscriptionEvent = new NewsletterUnsubscriptionEvent($newsletterSubscription);
        $this->eventDispatcher->dispatch(
            ElcodiNewsletterEvents::NEWSLETTER_UNSUBSCRIBE,
            $newsletterSubscriptionEvent
        );
    }
public function dispatchUnsubscribeEvent ( NewsletterSubscriptionInterface $ newsletterSubscription ) { $ newsletterSubscriptionEvent = new NewsletterUnsubscriptionEvent ( $ newsletterSubscription ) ; $ this -> eventDispatcher -> dispatch ( ElcodiNewsletterEvents :: NEWSLETTER_UNSUBSCRIBE , $ newsletterSubscriptionEvent ) ; }
Dispatch unsubscription event.

@param NewsletterSubscriptionInterface $newsletterSubscription Newsletter subscription

@return $this Self object
Dispatch unsubscription event .