FormType/NewThreadMessageFormType.php
/**
     * @param FormBuilderInterface $builder
     * @param array $options
     */
@param FormBuilderInterface $builder
@param array $options
@param FormBuilderInterface $builder @param array $options
protected function innerBuild(FormBuilderInterface $builder, array $options): void
    {
        $builder
            ->add(self::FORM_CHILD_RECIPIENT, RecipientType::class, [
                'label' => 'recipient',
                'translation_domain' => 'FOSMessageBundle',
            ])
            ->add(self::FORM_CHILD_SUBJECT, TextType::class, [
                'label' => 'subject',
                'translation_domain' => 'FOSMessageBundle',
            ])
            ->add(self::FORM_CHILD_BODY, TextareaType::class, [
                'label' => 'body',
                'translation_domain' => 'FOSMessageBundle',
            ])
        ;
    }
protected function innerBuild ( FormBuilderInterface $ builder , array $ options ) : void { $ builder -> add ( self :: FORM_CHILD_RECIPIENT , RecipientType :: class , [ 'label' => 'recipient' , 'translation_domain' => 'FOSMessageBundle' , ] ) -> add ( self :: FORM_CHILD_SUBJECT , TextType :: class , [ 'label' => 'subject' , 'translation_domain' => 'FOSMessageBundle' , ] ) -> add ( self :: FORM_CHILD_BODY , TextareaType :: class , [ 'label' => 'body' , 'translation_domain' => 'FOSMessageBundle' , ] ) ; }
@param FormBuilderInterface $builder
 @param array $options
@param FormBuilderInterface $builder @param array $options