public function populateFormBuilder(FormBuilderInterface $fb, $model, $form = 'default', $context = [])
    {
        $configuration = $this->formConfigurationFactory->getConfiguration($form, $model, $context);
        foreach ($this->adjusterRegistry->getFormConfigurationModifiers() as $modifier) {
            if ($modifier->supports($model, $configuration, $context)) {
                $configuration = $modifier->modify($model, $configuration, $context);
            }
        }
        foreach ($configuration as $field => $options) {
            $type = null;
            if (isset($options['type'])) {
                $type = $options['type'];
                unset($options['type']);
            }
            foreach ($this->adjusterRegistry->getFormFieldResolvers() as $resolver) {
                if ($resolver->supports($model, $field, $type, $options, $context)) {
                    $fb->add($resolver->getFormField($fb, $field, $type, $options, $context));
                    continue 2;
                }
            }
            if (isset($options['options'])) {
                $options = $options['options'];
            }
            $fb->add($field, $type, $options);
        }
    }