1 | <?php |
||
22 | class AlpixelDropzoneType extends AbstractType |
||
23 | { |
||
24 | /** |
||
25 | * @var \Doctrine\ORM\EntityManager |
||
26 | */ |
||
27 | protected $entityManager; |
||
28 | /** |
||
29 | * @var \Symfony\Component\EventDispatcher\EventDispatcherInterface |
||
30 | */ |
||
31 | protected $dispatcher; |
||
32 | |||
33 | protected $uploadConfigurations; |
||
34 | |||
35 | /** |
||
36 | * AlpixelDropzoneType constructor. |
||
37 | * @param \Doctrine\ORM\EntityManager $entityManager |
||
38 | * @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher |
||
39 | */ |
||
40 | public function __construct( |
||
49 | |||
50 | /** |
||
51 | * @param \Symfony\Component\Form\FormBuilderInterface $builder |
||
52 | * @param array $options |
||
53 | */ |
||
54 | public function buildForm(FormBuilderInterface $builder, array $options) |
||
69 | |||
70 | /** |
||
71 | * @param \Symfony\Component\Form\FormEvent $event |
||
72 | */ |
||
73 | public function onPreSetData(FormEvent $event) |
||
89 | |||
90 | /** |
||
91 | * @param \Symfony\Component\Form\FormEvent $event |
||
92 | */ |
||
93 | public function onPostSubmit(FormEvent $event) |
||
110 | |||
111 | /** |
||
112 | * @param \Symfony\Component\OptionsResolver\OptionsResolver $resolver |
||
113 | */ |
||
114 | public function configureOptions(OptionsResolver $resolver) |
||
128 | |||
129 | /** |
||
130 | * @param \Symfony\Component\Form\FormView $view |
||
131 | * @param \Symfony\Component\Form\FormInterface $form |
||
132 | * @param array $options |
||
133 | */ |
||
134 | public function buildView(FormView $view, FormInterface $form, array $options) |
||
149 | |||
150 | /** |
||
151 | * {@inheritdoc} |
||
152 | */ |
||
153 | public function finishView(FormView $view, FormInterface $form, array $options) |
||
157 | |||
158 | /** |
||
159 | * @return string |
||
160 | */ |
||
161 | public function getParent() |
||
165 | |||
166 | /** |
||
167 | * @return string |
||
168 | */ |
||
169 | public function getName() |
||
173 | } |
||
174 |