code: public function createService(ServiceLocatorInterface $serviceLocator)
      {
          if ($serviceLocator instanceof AbstractPluginManager) {
              $serviceLocator = $serviceLocator->getServiceLocator() ?: $serviceLocator;
          }
  
          return $this($serviceLocator, YumlController::class);
      }
docs: Create service
  
  @param ServiceLocatorInterface $serviceLocator
  
  @return YumlController