src/src/Form/TaskType.php
/**
     * @param FormBuilderInterface $builder
     * @param array $options
     */
@param FormBuilderInterface $builder
@param array $options
@param FormBuilderInterface $builder @param array $options
public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder
            ->add('title', TextType::class)
            ->add('done', CheckboxType::class, [
                'required' => false,
            ])
        ;
    }
public function buildForm ( FormBuilderInterface $ builder , array $ options ) { $ builder -> add ( 'title' , TextType :: class ) -> add ( 'done' , CheckboxType :: class , [ 'required' => false , ] ) ; }
@param FormBuilderInterface $builder
 @param array $options
@param FormBuilderInterface $builder @param array $options