for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Guarded Authentication package.
*
* (c) Jafar Jabr <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Jafar\Bundle\GuardedAuthenticationBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type as Types;
use Symfony\Component\Form\FormBuilderInterface;
/**
* Class GuardedLoginForm.
* @author Jafar Jabr <[email protected]>
class GuardedLoginForm extends AbstractType
{
* {@inheritdoc}
public function buildForm(FormBuilderInterface $builder, array $options)
$builder
->add('_username', Types\TextType::class)
->add('_password', Types\PasswordType::class);
}