AddCartType extends AbstractType
Table of Contents
| $config | EccubeConfig | |
|---|---|---|
| $em | EntityManager | |
| $Product | Product | |
| $productClassRepository | ProductClassRepository | |
| $doctrine | ||
| __construct() | mixed | |
| buildForm() | {@inheritdoc} | mixed |
| configureOptions() | {@inheritdoc} | mixed |
| finishView() | mixed | |
| getBlockPrefix() | {@inheritdoc} | mixed |
| validate() | validate | mixed |
Properties
$config
protected
EccubeConfig
$config
$em
protected
EntityManager
$em
$Product
protected
Product
$Product
= null
$productClassRepository
protected
ProductClassRepository
$productClassRepository
$doctrine
protected
mixed
$doctrine
Methods
__construct()
public
__construct(
$doctrine :
ManagerRegistry
, $config :
EccubeConfig
)
: mixed
Parameters
- $doctrine : ManagerRegistry
- $config : EccubeConfig
Return values
mixedbuildForm()
{@inheritdoc}
public
buildForm(
$builder :
FormBuilderInterface
, $options :
array
)
: mixed
Parameters
- $builder : FormBuilderInterface
- $options : array
Return values
mixedconfigureOptions()
{@inheritdoc}
public
configureOptions(
$resolver :
OptionsResolver
)
: mixed
Parameters
- $resolver : OptionsResolver
Return values
mixedfinishView()
public
finishView(
$view :
FormView
, $form :
FormInterface
, $options :
array
)
: mixed
Parameters
- $view : FormView
- $form : FormInterface
- $options : array
Return values
mixedgetBlockPrefix()
{@inheritdoc}
public
getBlockPrefix(
)
: mixed
Return values
mixedvalidate()
validate
public
validate(
$data :
type
, $context :
ExecutionContext
)
: mixed
Parameters
- $data : type
- $context : ExecutionContext