/**
  * Create service
  *
  * @param ServiceLocatorInterface $serviceLocator
  * @return mixed
  */
 public function createService(ServiceLocatorInterface $serviceLocator)
 {
     try {
         $c = new IndexController();
         /**
          * @param ServiceLocatorInterface $parentLocator
          */
         $parentLocator = $serviceLocator->getServiceLocator();
         $c->setGate($parentLocator->get('malocher.cqrs.gate'));
         return $c;
     } catch (\Exception $e) {
         var_dump($e->getMessage());
     }
 }