code: public static function factory(ContainerInterface $container)
      {
          /* @var ModuleManager $manager */
          $manager = $container->get('ModuleManager');
          $modules = $manager->getLoadedModules();
  
          return new static($modules);
      }
docs: Creates new object
  @param   ContainerInterface $container
  @return AssetsInstallController