use Lzakrzewski\SymfonyFormGenerator\Form\Type\GeneratorFormType;
use Lzakrzewski\SymfonyFormGenerator\ObjectWithMixedMetadata;
use Symfony\Component\Form\Forms;
Forms::createFormFactory()->createBuilder()
->create('form', new GeneratorFormType(ObjectWithMixedMetadata::class))
->add('propertyBoolean', 'checkbox')
->add('propertyArray', 'generator_array')
->add('propertyInteger', 'integer')
->add('propertyDateTime', 'generator_datetime')
->add('propertyUndefined', 'generator_string');
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.