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.
2 parents ddc70e5 + 342ef4d commit bda5d02Copy full SHA for bda5d02
doctrine/events.rst
@@ -312,7 +312,7 @@ with the ``doctrine.orm.entity_listener`` tag:
312
use App\EventListener\UserChangedNotifier;
313
314
$container->autowire(UserChangedNotifier::class)
315
- ->addTag('doctrine.orm.event_listener', [
+ ->addTag('doctrine.orm.entity_listener', [
316
// these are the basic options that define the entity listener
317
'event' => 'postUpdate',
318
'entity' => User::class,
0 commit comments