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

Author: Paweł Jędrzejewski ([email protected])
Inheritance: extends Symfony\Component\Form\AbstractType
Show file Open project: sylius/sylius Class Usage Examples

Protected Properties

Property Type Description
$calculators Sylius\Component\Registry\ServiceRegistryInterface
$repository Sylius\Component\Resource\Repository\RepositoryInterface
$shippingMethodsResolver Sylius\Component\Shipping\Resolver\ShippingMethodsResolverInterface

Public Methods

Method Description
__construct ( Sylius\Component\Shipping\Resolver\ShippingMethodsResolverInterface $shippingMethodsResolver, Sylius\Component\Registry\ServiceRegistryInterface $calculators, Sylius\Component\Resource\Repository\RepositoryInterface $repository )
buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options )
buildView ( Symfony\Component\Form\FormView $view, Symfony\Component\Form\FormInterface $form, array $options )
configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
getBlockPrefix ( )
getParent ( )

Method Details

__construct() public method

public __construct ( Sylius\Component\Shipping\Resolver\ShippingMethodsResolverInterface $shippingMethodsResolver, Sylius\Component\Registry\ServiceRegistryInterface $calculators, Sylius\Component\Resource\Repository\RepositoryInterface $repository )
$shippingMethodsResolver Sylius\Component\Shipping\Resolver\ShippingMethodsResolverInterface
$calculators Sylius\Component\Registry\ServiceRegistryInterface
$repository Sylius\Component\Resource\Repository\RepositoryInterface

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

configureOptions() public method

public configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
$resolver Symfony\Component\OptionsResolver\OptionsResolver

getBlockPrefix() public method

public getBlockPrefix ( )

getParent() public method

public getParent ( )

Property Details

$calculators protected property

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

$repository protected property

protected RepositoryInterface,Sylius\Component\Resource\Repository $repository
return Sylius\Component\Resource\Repository\RepositoryInterface

$shippingMethodsResolver protected property

protected ShippingMethodsResolverInterface,Sylius\Component\Shipping\Resolver $shippingMethodsResolver
return Sylius\Component\Shipping\Resolver\ShippingMethodsResolverInterface