From 5577f7b9db61a26348b724170954268202aa06cf Mon Sep 17 00:00:00 2001 From: Daniel West Date: Wed, 1 Apr 2020 14:16:40 +0100 Subject: [PATCH] Tag name updated In the entity listener section, the PHP config docs were using the event_listener tag instead. --- doctrine/events.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doctrine/events.rst b/doctrine/events.rst index 98dad192a79..5dacfc98b54 100644 --- a/doctrine/events.rst +++ b/doctrine/events.rst @@ -312,7 +312,7 @@ with the ``doctrine.orm.entity_listener`` tag: use App\EventListener\UserChangedNotifier; $container->autowire(UserChangedNotifier::class) - ->addTag('doctrine.orm.event_listener', [ + ->addTag('doctrine.orm.entity_listener', [ // these are the basic options that define the entity listener 'event' => 'postUpdate', 'entity' => User::class,