src/Factory/AspectKernelFactory.php
/**
     * Create service
     *
     * @param ServiceLocatorInterface $serviceLocator
     *
     * @return mixed
     */
Create service
@param ServiceLocatorInterface $serviceLocator

@return mixed
Create service @param ServiceLocatorInterface $serviceLocator @return mixed
public function createService(ServiceLocatorInterface $serviceLocator)
    {
        $aspectKernel = AspectKernel::getInstance();
        $aspectKernel->init($serviceLocator->get('config')[Module::CONFIG_KEY]);
        return $aspectKernel;
    }
public function createService ( ServiceLocatorInterface $ serviceLocator ) { $ aspectKernel = AspectKernel :: getInstance ( ) ; $ aspectKernel -> init ( $ serviceLocator -> get ( 'config' ) [ Module :: CONFIG_KEY ] ) ; return $ aspectKernel ; }
Create service
 @param ServiceLocatorInterface $serviceLocator
Create service @param ServiceLocatorInterface $serviceLocator