PHP Class Sylius\Bundle\AddressingBundle\Form\EventListener\BuildAddressFormSubscriber

Author: Paweł Jędrzejewski ([email protected])
Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Afficher le fichier Open project: sylius/sylius

Méthodes publiques

Méthode Description
__construct ( Doctrine\Common\Persistence\ObjectRepository $countryRepository, Symfony\Component\Form\FormFactoryInterface $factory )
getSubscribedEvents ( )
preSetData ( Symfony\Component\Form\FormEvent $event )
preSubmit ( Symfony\Component\Form\FormEvent $event )

Private Methods

Méthode Description
createProvinceCodeChoiceForm ( Sylius\Component\Addressing\Model\CountryInterface $country, string | null $provinceCode = null ) : Symfony\Component\Form\FormInterface
createProvinceNameTextForm ( string | null $provinceName = null ) : Symfony\Component\Form\FormInterface

Method Details

__construct() public méthode

public __construct ( Doctrine\Common\Persistence\ObjectRepository $countryRepository, Symfony\Component\Form\FormFactoryInterface $factory )
$countryRepository Doctrine\Common\Persistence\ObjectRepository
$factory Symfony\Component\Form\FormFactoryInterface

getSubscribedEvents() public static méthode

public static getSubscribedEvents ( )

preSetData() public méthode

public preSetData ( Symfony\Component\Form\FormEvent $event )
$event Symfony\Component\Form\FormEvent

preSubmit() public méthode

public preSubmit ( Symfony\Component\Form\FormEvent $event )
$event Symfony\Component\Form\FormEvent