Sylius\Bundle\ShippingBundle\Form\Type\ShippingMethodType::__construct PHP Method

__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
    public function __construct($dataClass, array $validationGroups, $shippingMethodTranslationType, ServiceRegistryInterface $calculatorRegistry, ServiceRegistryInterface $checkerRegistry, FormTypeRegistryInterface $formTypeRegistry, EventSubscriberInterface $buildShippingMethodFormSubscriber)
    {
        parent::__construct($dataClass, $validationGroups);
        $this->shippingMethodTranslationType = $shippingMethodTranslationType;
        $this->calculatorRegistry = $calculatorRegistry;
        $this->checkerRegistry = $checkerRegistry;
        $this->formTypeRegistry = $formTypeRegistry;
        $this->buildShippingMethodFormSubscriber = $buildShippingMethodFormSubscriber;
    }