public function postPersist(Contribution $contribution, LifecycleEventArgs $event)
 {
     $userPicker = $contribution->getUserPicker();
     $section = $contribution->getSection();
     $wiki = $section->getWiki();
     if ($userPicker !== null && count($userPicker->getUserIds()) > 0 && $wiki->getResourceNode() !== null) {
         $details = array('contribution' => array('wiki' => $wiki->getId(), 'section' => $section->getId(), 'id' => $contribution->getId(), 'title' => $contribution->getTitle(), 'text' => $contribution->getText(), 'contributor' => $contribution->getContributor()->getFirstName() . ' ' . $contribution->getContributor()->getLastName()), 'resource' => array('id' => $wiki->getId(), 'name' => $wiki->getResourceNode()->getName(), 'type' => $wiki->getResourceNode()->getResourceType()->getName()));
         $notification = $this->notificationManager->createNotification('resource-icap_wiki-user_tagged', 'wiki', $wiki->getResourceNode()->getId(), $details, $contribution->getContributor());
         $this->notificationManager->notifyUsers($notification, $userPicker->getUserIds());
     }
 }