Skip to content

Commit 342ef4d

Browse files
committed
minor #13473 Tag name updated (silverbackdan)
This PR was submitted for the 5.0 branch but it was merged into the 4.4 branch instead (closes #13473). Discussion ---------- Tag name updated In the entity listener section, the PHP config docs were using the event_listener tag instead. Commits ------- 5577f7b Tag name updated
2 parents 90bde03 + 5577f7b commit 342ef4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doctrine/events.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ with the ``doctrine.orm.entity_listener`` tag:
312312
use App\EventListener\UserChangedNotifier;
313313
314314
$container->autowire(UserChangedNotifier::class)
315-
->addTag('doctrine.orm.event_listener', [
315+
->addTag('doctrine.orm.entity_listener', [
316316
// these are the basic options that define the entity listener
317317
'event' => 'postUpdate',
318318
'entity' => User::class,

0 commit comments

Comments
 (0)