3 namespace Rapsys\AirBundle\Form
;
5 use Symfony\Component\Form\Extension\Core\Type\TelType
;
6 use Symfony\Component\Form\Extension\Core\Type\UrlType
;
7 use Symfony\Component\Form\FormBuilderInterface
;
8 use Symfony\Component\Validator\Constraints\NotBlank
;
10 class RegisterType
extends \Rapsys\UserBundle\Form\RegisterType
{
14 public function buildForm(FormBuilderInterface
$builder, array $options) {
15 return parent
::buildForm($builder, $options)
16 ->add('phone', TelType
::class, ['attr' => ['placeholder' => 'Your phone'], 'required' => false]);
22 public function getName() {
23 return 'rapsys_air_register';