/**
  * {@inheritdoc}
  */
 protected function prepare()
 {
     $listener = $this->getTranslatableListener();
     $this->savedSkipOnLoad = $listener->isSkipOnLoad();
     $listener->setSkipOnLoad(true);
     parent::prepare();
 }
 protected function prepare()
 {
     parent::prepare();
     foreach ($this->_rsm->aliasMap as $dqlAlias => $className) {
         if (isset($this->aliasMetadata[$dqlAlias])) {
             continue;
         }
         $class = $this->_em->getClassMetadata($className);
         if (!($invoke = $this->lifecycleEventsInvoker->getSubscribedSystems($class, Events::postLoadRelations))) {
             continue;
         }
         $this->aliasMetadata[$dqlAlias] = $class;
         $this->aliasInvokers[$dqlAlias] = $invoke;
     }
 }