Skip to content

Commit 1380f60

Browse files
committed
minor symfony#18418 [DependencyInjection] Fix xml example for defaut-index-name for tagged service provider (alexander-schranz)
This PR was merged into the 5.4 branch. Discussion ---------- [DependencyInjection] Fix xml example for defaut-index-name for tagged service provider Comment say it should be `getIndex` instead of `someFunctionName`. Commits ------- 57c18a8 Fix xml example for defaut-index-name for tagged service provider
2 parents f347595 + 57c18a8 commit 1380f60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container/tags.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ with the ``default_index_method`` attribute on the tagged argument:
997997
<!-- use getIndex() instead of getDefaultIndexName() -->
998998
<argument type="tagged_iterator"
999999
tag="app.handler"
1000-
default-index-method="someFunctionName"
1000+
default-index-method="getIndex"
10011001
/>
10021002
</service>
10031003
</services>

0 commit comments

Comments
 (0)