Skip to content

Commit a895c0f

Browse files
committed
minor #14487 [DependencyInjection] Fix tagged service priority inconsistent method name (yann-eugone)
This PR was submitted for the 5.1 branch but it was squashed and merged into the 4.4 branch instead. Discussion ---------- [DependencyInjection] Fix tagged service priority inconsistent method name The service priority `default_priority_method` contains an inconsistent method name regarding code example. Commits ------- 09be97a [DependencyInjection] Fix tagged service priority inconsistent method name
2 parents 0998400 + 09be97a commit a895c0f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

service_container/tags.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -655,8 +655,9 @@ service itself::
655655
}
656656
}
657657

658-
If you want to have another method defining the priority, you can define it
659-
in the configuration of the collecting service:
658+
If you want to have another method defining the priority
659+
(e.g. ``getPriority()`` rather than ``getDefaultPriority()``),
660+
you can define it in the configuration of the collecting service:
660661

661662
.. configuration-block::
662663

0 commit comments

Comments
 (0)