3 namespace Rapsys\AirBundle\Form
; 
   5 use Symfony\Component\Form\Extension\Core\Type\TelType
; 
   6 use Symfony\Component\Form\FormBuilderInterface
; 
   7 use Symfony\Component\Validator\Constraints\NotBlank
; 
   9 class RegisterType 
extends \Rapsys\UserBundle\Form\RegisterType 
{ 
  13         public function buildForm(FormBuilderInterface 
$builder, array $options) { 
  14                 return parent
::buildForm($builder, $options) 
  15                         ->add('phone', TelType
::class, array('attr' => array('placeholder' => 'Your phone'), 'constraints' => array(new NotBlank(array('message' => 'Please provide your phone'))))); 
  21         public function getName() { 
  22                 return 'rapsys_air_register';