original_string: public function setEventTrigger(EventTriggerInterface $eventTrigger)
      {
          $this->init();
          $eventService = new EventTriggerService();
          $eventService->registerEventDispatcher($eventTrigger);
  
          $this->container->instance(EventTriggerService::class, $eventService);
      }
code: public function setEventTrigger(EventTriggerInterface $eventTrigger)
      {
          $this->init();
          $eventService = new EventTriggerService();
          $eventService->registerEventDispatcher($eventTrigger);
  
          $this->container->instance(EventTriggerService::class, $eventService);
      }
code_tokens: public function setEventTrigger ( EventTriggerInterface $ eventTrigger ) { $ this -> init ( ) ; $ eventService = new EventTriggerService ( ) ; $ eventService -> registerEventDispatcher ( $ eventTrigger ) ; $ this -> container -> instance ( EventTriggerService :: class , $ eventService ) ; }
docstring: Sets the event trigger for Mongolid events.
  
  @param EventTriggerInterface $eventTrigger external event trigger
docstring_tokens: Sets the event trigger for Mongolid events .