public function onSubscribe(SubscriberEvent $event)
    {
        $this->listRepository->subscribe(
            $event->getListId(),
            $event->getSubscriber()
        );
    }
public function onSubscribe(SubscriberEvent $event)
    {
        $this->listRepository->subscribe(
            $event->getListId(),
            $event->getSubscriber()
        );
    }
public function onSubscribe ( SubscriberEvent $ event ) { $ this -> listRepository -> subscribe ( $ event -> getListId ( ) , $ event -> getSubscriber ( ) ) ; }
Action when a User subscribe
@param  SubscriberEvent $event
@return void
Action when a User subscribe