<?php
namespace App\Form\Address;
use App\Entity\Address\ShippingAddress;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Component\Form\Extension\Core\Type\{TextType, EmailType, CheckboxType, PasswordType};
class ShippingAddressType extends AddressType
{
public function configureOptions(OptionsResolver $resolver): void
{
$resolver->setDefaults([
'data_class' => ShippingAddress::class,
]);
}
}