code: private function collectFilterFactories($container)
      {
          $attributeFactory = $container->getDefinition('metamodels.filter_setting_factory');
          foreach (array_keys($container->findTaggedServiceIds(self::TAG_FILTER_FACTORY)) as $factory) {
              $attributeFactory->addMethodCall('addTypeFactory', [new Reference($factory)]);
          }
      }
docs: Collect all tagged filter factories.
  
  @param ContainerBuilder $container The container builder.
  
  @return void