original_string: public function getServicesTrigger(ModuleEvent $e)
      {
          $module = $e->getModule();
  
          if (method_exists($module, 'getServiceConfig') && is_callable(array($module, 'getServiceConfig'))) {
              $services = $module->getServiceConfig();
              if (is_array($services) && isset($services['factories'])) {
                  $this->services[$e->getModuleName()] = $services['factories'];
              }
          }
  
          return $this;
      }
code: public function getServicesTrigger(ModuleEvent $e)
      {
          $module = $e->getModule();
  
          if (method_exists($module, 'getServiceConfig') && is_callable(array($module, 'getServiceConfig'))) {
              $services = $module->getServiceConfig();
              if (is_array($services) && isset($services['factories'])) {
                  $this->services[$e->getModuleName()] = $services['factories'];
              }
          }
  
          return $this;
      }
code_tokens: public function getServicesTrigger ( ModuleEvent $ e ) { $ module = $ e -> getModule ( ) ; if ( method_exists ( $ module , 'getServiceConfig' ) && is_callable ( array ( $ module , 'getServiceConfig' ) ) ) { $ services = $ module -> getServiceConfig ( ) ; if ( is_array ( $ services ) && isset ( $ services [ 'factories' ] ) ) { $ this -> services [ $ e -> getModuleName ( ) ] = $ services [ 'factories' ] ; } } return $ this ; }
docstring: Event callback for 'initServicesTrigger'.
  
  @param ModuleEvent $e
  
  @return $this
docstring_tokens: Event callback for initServicesTrigger .