Google News
logo
Symfony - Interview Questions
What is the syntax of EmailType in Symfony?
In Symfony, the following syntax of EmailType is :
use Symfony\Component\Form\Extension\Core\Type\EmailType;     
   
$builder->add('token', EmailType::class, array(     
   
'data' => 'abcdef', )); 
Advertisement