File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -312,6 +312,11 @@ callback for better readability::
312312 // src/AppBundle/Form/SubscriptionType.php
313313 namespace AppBundle\Form;
314314
315+ use Symfony\Component\Form\Extension\Core\Type\TextType;
316+ use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
317+ use Symfony\Component\Form\FormEvent;
318+ use Symfony\Component\Form\FormEvents;
319+
315320 // ...
316321 class SubscriptionType extends AbstractType
317322 {
@@ -397,6 +402,9 @@ Event subscribers have different uses:
397402 To register the event subscriber, use the ``addEventSubscriber() `` method::
398403
399404 use AppBundle\Form\EventListener\AddEmailFieldListener;
405+ use Symfony\Component\Form\Extension\Core\Type\TextType;
406+ use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
407+
400408 // ...
401409
402410 $form = $formFactory->createBuilder()
You can’t perform that action at this time.
0 commit comments