src/Sdz/UserBundle/Form/UserEditType.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('username');
        $builder->remove('password');
    }
public function buildForm ( FormBuilderInterface $ builder , array $ options ) { parent :: buildForm ( $ builder , $ options ) ; $ builder -> remove ( 'username' ) ; $ builder -> remove ( 'password' ) ; }
@param FormBuilderInterface $builder
 @param array $options
@param FormBuilderInterface $builder @param array $options