PHP Class Sylius\Bundle\ShippingBundle\Form\Type\ShippingMethodType

Author: Paweł Jędrzejewski ([email protected])
Author: Gonzalo Vilaseca ([email protected])
Author: Anna Walasek ([email protected])
Inheritance: extends Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType
Show file Open project: sylius/sylius Class Usage Examples

Protected Properties

Property Type Description
$buildShippingMethodFormSubscriber Symfony\Component\EventDispatcher\EventSubscriberInterface
$calculatorRegistry Sylius\Component\Registry\ServiceRegistryInterface
$checkerRegistry Sylius\Component\Registry\ServiceRegistryInterface
$formTypeRegistry Sylius\Bundle\ResourceBundle\Form\Registry\FormTypeRegistryInterface
$shippingMethodTranslationType string

Public Methods

Method Description
__construct ( string $dataClass, array $validationGroups, string $shippingMethodTranslationType, Sylius\Component\Registry\ServiceRegistryInterface $calculatorRegistry, Sylius\Component\Registry\ServiceRegistryInterface $checkerRegistry, Sylius\Bundle\ResourceBundle\Form\Registry\FormTypeRegistryInterface $formTypeRegistry, Symfony\Component\EventDispatcher\EventSubscriberInterface $buildShippingMethodFormSubscriber )
buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options )
buildView ( Symfony\Component\Form\FormView $view, Symfony\Component\Form\FormInterface $form, array $options )
getBlockPrefix ( )

Method Details

__construct() public method

public __construct ( string $dataClass, array $validationGroups, string $shippingMethodTranslationType, Sylius\Component\Registry\ServiceRegistryInterface $calculatorRegistry, Sylius\Component\Registry\ServiceRegistryInterface $checkerRegistry, Sylius\Bundle\ResourceBundle\Form\Registry\FormTypeRegistryInterface $formTypeRegistry, Symfony\Component\EventDispatcher\EventSubscriberInterface $buildShippingMethodFormSubscriber )
$dataClass string
$validationGroups array
$shippingMethodTranslationType string
$calculatorRegistry Sylius\Component\Registry\ServiceRegistryInterface
$checkerRegistry Sylius\Component\Registry\ServiceRegistryInterface
$formTypeRegistry Sylius\Bundle\ResourceBundle\Form\Registry\FormTypeRegistryInterface
$buildShippingMethodFormSubscriber Symfony\Component\EventDispatcher\EventSubscriberInterface

buildForm() public method

public buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options )
$builder Symfony\Component\Form\FormBuilderInterface
$options array

buildView() public method

public buildView ( Symfony\Component\Form\FormView $view, Symfony\Component\Form\FormInterface $form, array $options )
$view Symfony\Component\Form\FormView
$form Symfony\Component\Form\FormInterface
$options array

getBlockPrefix() public method

public getBlockPrefix ( )

Property Details

$buildShippingMethodFormSubscriber protected property

protected EventSubscriberInterface,Symfony\Component\EventDispatcher $buildShippingMethodFormSubscriber
return Symfony\Component\EventDispatcher\EventSubscriberInterface

$calculatorRegistry protected property

protected ServiceRegistryInterface,Sylius\Component\Registry $calculatorRegistry
return Sylius\Component\Registry\ServiceRegistryInterface

$checkerRegistry protected property

protected ServiceRegistryInterface,Sylius\Component\Registry $checkerRegistry
return Sylius\Component\Registry\ServiceRegistryInterface

$formTypeRegistry protected property

protected FormTypeRegistryInterface,Sylius\Bundle\ResourceBundle\Form\Registry $formTypeRegistry
return Sylius\Bundle\ResourceBundle\Form\Registry\FormTypeRegistryInterface

$shippingMethodTranslationType protected property

protected string $shippingMethodTranslationType
return string