PHP Class Sylius\Bundle\CoreBundle\Form\Type\Customer\CustomerSimpleRegistrationType

Author: Michał Marcinkowski ([email protected])
Inheritance: extends Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType
ファイルを表示 Open project: sylius/sylius Class Usage Examples

Public Methods

Method Description
__construct ( string $dataClass, array $validationGroups, Sylius\Component\Resource\Repository\RepositoryInterface $customerRepository )
buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options = [] )
configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
getBlockPrefix ( )

Method Details

__construct() public method

public __construct ( string $dataClass, array $validationGroups, Sylius\Component\Resource\Repository\RepositoryInterface $customerRepository )
$dataClass string
$validationGroups array
$customerRepository Sylius\Component\Resource\Repository\RepositoryInterface

buildForm() public method

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

configureOptions() public method

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

getBlockPrefix() public method

public getBlockPrefix ( )