original_string: public function preRemove(LifecycleEventArgs $event)
      {
          $event = new DeindexEvent($event->getEntity());
          $this->eventDispatcher->dispatch(SearchEvents::DEINDEX, $event);
      }
code: public function preRemove(LifecycleEventArgs $event)
      {
          $event = new DeindexEvent($event->getEntity());
          $this->eventDispatcher->dispatch(SearchEvents::DEINDEX, $event);
      }
code_tokens: public function preRemove ( LifecycleEventArgs $ event ) { $ event = new DeindexEvent ( $ event -> getEntity ( ) ) ; $ this -> eventDispatcher -> dispatch ( SearchEvents :: DEINDEX , $ event ) ; }
docstring: Deindex entities after they have been removed.
  
  @param LifecycleEventArgs $event
docstring_tokens: Deindex entities after they have been removed .