public function buildForm(FormBuilderInterface $builder, array $options) { $builder->add('email', 'email', array('required' => true)); }