/**
  * @param Event $event
  *
  * @return string
  */
 private function getClassname(Event $event)
 {
     if ($event->getMetaInformation() == null) {
         return '';
     }
     return $event->getMetaInformation()->getClassName();
 }
 /**
  * @param Event $event
  */
 public function onSolrUpdate(Event $event)
 {
     $metaInformation = $event->getMetaInformation();
     $nameWithId = $this->createDocumentNameWithId($metaInformation);
     $fieldList = $this->createFieldList($metaInformation);
     $this->logger->debug(sprintf('document %s with fields %s was updated', $nameWithId, $fieldList));
 }
 /**
  * (non-PHPdoc)
  * @see \FS\SolrBundle\Event\EventListenerInterface::notify()
  */
 public function notify(Event $event)
 {
     $metaInformation = $event->getMetaInformation();
     $nameWithId = $this->createDocumentNameWithId($metaInformation);
     $fieldList = $this->createFieldList($metaInformation);
     $this->logger->debug(sprintf('use path %s, document %s with fields %s was updated', $event->getCore(), $nameWithId, $fieldList));
 }