for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the TheAlternativeZurich/events project.
*
* (c) Florian Moser <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Form\Registration;
use App\Entity\Registration;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\OptionsResolver\OptionsResolver;
abstract class AbstractRegistrationType extends AbstractType
{
public function configureOptions(OptionsResolver $resolver)
$resolver->setDefaults([
'translation_domain' => 'entity_registration',
'data_class' => Registration::class,
]);
parent::configureOptions($resolver);
}