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