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;
    }
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;
    }
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 ; }
Event callback for 'initServicesTrigger'.

@param ModuleEvent $e

@return $this
Event callback for initServicesTrigger .