2 namespace Wallabag\CoreBundle\Form\Type
;
4 use Symfony\Component\Form\AbstractType
;
5 use Symfony\Component\Form\FormBuilderInterface
;
6 use Symfony\Component\OptionsResolver\OptionsResolverInterface
;
8 class UserInformationType
extends AbstractType
10 public function buildForm(FormBuilderInterface
$builder, array $options)
14 ->add('email', 'email')
15 ->add('save', 'submit')
19 public function setDefaultOptions(OptionsResolverInterface
$resolver)
21 $resolver->setDefaults(array(
22 'data_class' => 'Wallabag\CoreBundle\Entity\User',
26 public function getName()