File tree 1 file changed +8
-0
lines changed
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::
312
312
// src/AppBundle/Form/SubscriptionType.php
313
313
namespace AppBundle\Form;
314
314
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
+
315
320
// ...
316
321
class SubscriptionType extends AbstractType
317
322
{
@@ -397,6 +402,9 @@ Event subscribers have different uses:
397
402
To register the event subscriber, use the ``addEventSubscriber() `` method::
398
403
399
404
use AppBundle\Form\EventListener\AddEmailFieldListener;
405
+ use Symfony\Component\Form\Extension\Core\Type\TextType;
406
+ use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
407
+
400
408
// ...
401
409
402
410
$form = $formFactory->createBuilder()
You can’t perform that action at this time.
0 commit comments