src/Sdz/UserBundle/Form/UserPersonnalEditType.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)
    {
        parent::buildForm($builder,$options);
        $builder->remove('nom');
        $builder->remove('noPieceIdent');
        $builder->remove('poste');
        $builder->remove('villeResidence');
        $builder->remove('roles');
        $builder->remove('isActive');
    }
public function buildForm ( FormBuilderInterface $ builder , array $ options ) { parent :: buildForm ( $ builder , $ options ) ; $ builder -> remove ( 'nom' ) ; $ builder -> remove ( 'noPieceIdent' ) ; $ builder -> remove ( 'poste' ) ; $ builder -> remove ( 'villeResidence' ) ; $ builder -> remove ( 'roles' ) ; $ builder -> remove ( 'isActive' ) ; }
@param FormBuilderInterface $builder
 @param array $options
@param FormBuilderInterface $builder @param array $options