public function buildForm(
        FormBuilderInterface $builder, 
        $exportAlias, 
        array $aggregatorAliases
    ){
        $builder->add('numerotation', ChoiceType::class, array(
            'choices' => array(
                'yes' => true,
                'no'  => false
            ),
            'expanded' => true,
            'multiple' => false,
            'label' => "Add a number on first column",
            'choices_as_values' => true,
            'data' => true
        ));
    }
public function buildForm(
        FormBuilderInterface $builder, 
        $exportAlias, 
        array $aggregatorAliases
    ){
        $builder->add('numerotation', ChoiceType::class, array(
            'choices' => array(
                'yes' => true,
                'no'  => false
            ),
            'expanded' => true,
            'multiple' => false,
            'label' => "Add a number on first column",
            'choices_as_values' => true,
            'data' => true
        ));
    }
public function buildForm ( FormBuilderInterface $ builder , $ exportAlias , array $ aggregatorAliases ) { $ builder -> add ( 'numerotation' , ChoiceType :: class , array ( 'choices' => array ( 'yes' => true , 'no' => false ) , 'expanded' => true , 'multiple' => false , 'label' => "Add a number on first column" , 'choices_as_values' => true , 'data' => true ) ) ; }
build a form, which will be used to collect data required for the execution
of this formatter.

@uses appendAggregatorForm
@param FormBuilderInterface $builder
@param type $exportAlias
@param array $aggregatorAliases
build a form which will be used to collect data required for the execution of this formatter .