public function dispatchSubscribeEvent(NewsletterSubscriptionInterface $newsletterSubscription)
    {
        $newsletterSubscriptionEvent = new NewsletterSubscriptionEvent($newsletterSubscription);
        $this->eventDispatcher->dispatch(
            ElcodiNewsletterEvents::NEWSLETTER_SUBSCRIBE,
            $newsletterSubscriptionEvent
        );
    }
public function dispatchSubscribeEvent(NewsletterSubscriptionInterface $newsletterSubscription)
    {
        $newsletterSubscriptionEvent = new NewsletterSubscriptionEvent($newsletterSubscription);
        $this->eventDispatcher->dispatch(
            ElcodiNewsletterEvents::NEWSLETTER_SUBSCRIBE,
            $newsletterSubscriptionEvent
        );
    }
public function dispatchSubscribeEvent ( NewsletterSubscriptionInterface $ newsletterSubscription ) { $ newsletterSubscriptionEvent = new NewsletterSubscriptionEvent ( $ newsletterSubscription ) ; $ this -> eventDispatcher -> dispatch ( ElcodiNewsletterEvents :: NEWSLETTER_SUBSCRIBE , $ newsletterSubscriptionEvent ) ; }
Dispatch subscription event.

@param NewsletterSubscriptionInterface $newsletterSubscription Newsletter subscription

@return $this Self object
Dispatch subscription event .