Property | Type | Description | |
---|---|---|---|
$addressClass | string | ||
$basket | Sonata\Component\Basket\BasketInterface |
Method | Description | |
---|---|---|
__construct ( string $addressClass, Sonata\Component\Basket\BasketInterface $basket ) | Constructor. | |
buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options ) | ||
buildView ( Symfony\Component\Form\FormView $view, Symfony\Component\Form\FormInterface $form, array $options ) | ||
getBlockPrefix ( ) | ||
getName ( ) | ||
setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver ) |
Method | Description | |
---|---|---|
getBasketDeliveryCountries ( ) : array | Returns basket elements delivery countries. |
public __construct ( string $addressClass, Sonata\Component\Basket\BasketInterface $basket ) | ||
$addressClass | string | An address entity class name |
$basket | Sonata\Component\Basket\BasketInterface | Sonata current basket |
protected getBasketDeliveryCountries ( ) : array | ||
return | array |
public setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver ) | ||
$resolver | Symfony\Component\OptionsResolver\OptionsResolverInterface |