/**
  * @param $entity
  * @param string $eventName
  * @return bool|null
  */
 private function isConfiguredToTrack($entity, $eventName = '')
 {
     $class = get_class($entity);
     $eventType = DoctrineEvents::getShortEventType($eventName);
     if (null !== ($track = $this->isAnnotatedEvent($entity, $eventType))) {
         return $track;
     }
     if (!$this->isConfigured($class)) {
         return FALSE;
     }
     if ($this->shouldTrackAllEventType($class)) {
         return TRUE;
     }
     return $this->shouldTrackEventType($eventType, $class);
 }
 /**
  * @return string
  */
 protected function getEventShortName()
 {
     if (null === $this->eventShortName) {
         $this->eventShortName = DoctrineEvents::getShortEventType($this->getName());
     }
     return $this->eventShortName;
 }