src/Sdz/ATIBundle/Form/ProduitMagasinEditType.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('vars','integer',array('required' =>true))
            ->add('observation','textarea',array('required' =>true))
            ;
    }
public function buildForm ( FormBuilderInterface $ builder , array $ options ) { $ builder -> add ( 'vars' , 'integer' , array ( 'required' => true ) ) -> add ( 'observation' , 'textarea' , array ( 'required' => true ) ) ; }
@param FormBuilderInterface $builder
 @param array $options
@param FormBuilderInterface $builder @param array $options