Property | Type | Description | |
---|---|---|---|
$config | array | ||
$em | Doctrine\Common\Persistence\ObjectManager | ||
$router | Symfony\Component\Routing\RouterInterface |
Method | Description | |
---|---|---|
__construct ( Doctrine\Common\Persistence\ObjectManager $em, Symfony\Component\Routing\RouterInterface $router, array $config ) | ||
buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options ) | ||
configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver ) | ||
finishView ( Symfony\Component\Form\FormView $view, Symfony\Component\Form\FormInterface $form, array $options ) | ||
getBlockPrefix ( ) : string | Symfony 2.8+ | |
getName ( ) : string | pre Symfony 3 compatibility | |
setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver ) | Added for pre Symfony 2.7 compatibility |
public __construct ( Doctrine\Common\Persistence\ObjectManager $em, Symfony\Component\Routing\RouterInterface $router, array $config ) | ||
$em | Doctrine\Common\Persistence\ObjectManager | |
$router | Symfony\Component\Routing\RouterInterface | |
$config | array |
public configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver ) | ||
$resolver | Symfony\Component\OptionsResolver\OptionsResolver |
public finishView ( Symfony\Component\Form\FormView $view, Symfony\Component\Form\FormInterface $form, array $options ) | ||
$view | Symfony\Component\Form\FormView | |
$form | Symfony\Component\Form\FormInterface | |
$options | array |
public setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver ) | ||
$resolver | Symfony\Component\OptionsResolver\OptionsResolverInterface |
protected ObjectManager,Doctrine\Common\Persistence $em | ||
return | Doctrine\Common\Persistence\ObjectManager |