ModelType
class ModelType extends AbstractType
A Model type for use in Symphony's forms
Methods
__construct(string $type, bool $emptyElem = true, callable|null $modifier = null)
Get a new ModelType
buildForm(FormBuilderInterface $builder, array $options)
No description
buildView(FormView $view, FormInterface $form, array $options)
Render a list of comma-separated usernames for the user to see
configureOptions(OptionsResolver $resolver)
No description
getParent()
No description
getName()
No description
Details
at line line 45
__construct(string $type, bool $emptyElem = true, callable|null $modifier = null)
Get a new ModelType
at line line 52
buildForm(FormBuilderInterface $builder, array $options)
at line line 70
buildView(FormView $view, FormInterface $form, array $options)
Render a list of comma-separated usernames for the user to see