PHP Class Sonata\Component\Form\Type\VariationChoiceType

Author: Hugo Briand ([email protected])
Inheritance: extends Symfony\Component\Form\AbstractType
Show file Open project: sonata-project/ecommerce

Protected Properties

Property Type Description
$pool Sonata\Component\Product\Pool

Public Methods

Method Description
__construct ( Pool $pool )
buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options )
getBlockPrefix ( )
getName ( )
setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver )

Method Details

__construct() public method

public __construct ( Pool $pool )
$pool Sonata\Component\Product\Pool

buildForm() public method

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

getBlockPrefix() public method

public getBlockPrefix ( )

getName() public method

public getName ( )

setDefaultOptions() public method

public setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver )
$resolver Symfony\Component\OptionsResolver\OptionsResolverInterface

Property Details

$pool protected property

protected Pool,Sonata\Component\Product $pool
return Sonata\Component\Product\Pool