We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56d7ff0 commit 6867e4eCopy full SHA for 6867e4e
cookbook/form/dynamic_form_generation.rst
@@ -91,10 +91,10 @@ might look like the following::
91
// src/Acme/DemoBundle/Form/EventListener/AddNameFieldSubscriber.php
92
namespace Acme\DemoBundle\Form\EventListener;
93
94
- use Symfony\Component\Form\Event\DataEvent;
+ use Symfony\Component\Form\FormEvent;
95
+ use Symfony\Component\Form\FormEvents;
96
use Symfony\Component\Form\FormFactoryInterface;
97
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
- use Symfony\Component\Form\FormEvents;
98
99
class AddNameFieldSubscriber implements EventSubscriberInterface
100
{
0 commit comments