src/Form/Type/TelephoneType.php line 8

Open in your IDE?
  1. <?php
  2.     namespace App\Form\Type;
  3.     use Symfony\Component\Form\AbstractType;
  4.     use Symfony\Component\Form\Extension\Core\Type\TextType;
  5.     class TelephoneType extends AbstractType
  6.     {
  7.         /**
  8.          * {@inheritdoc}
  9.          */
  10.         public function getParent(): ?string
  11.         {
  12.             return TextType::class;
  13.         }
  14.         /**
  15.          * {@inheritdoc}
  16.          */
  17.         public function getBlockPrefix(): string
  18.         {
  19.             return 'tel';
  20.         }
  21.     }