Reduce redundancy between service container and autowiring docs#22234
Open
lacatoire wants to merge 2 commits intosymfony:7.4from
Open
Reduce redundancy between service container and autowiring docs#22234lacatoire wants to merge 2 commits intosymfony:7.4from
lacatoire wants to merge 2 commits intosymfony:7.4from
Conversation
Remove duplicate debug:autowiring output that was shown twice, add cross-references to the dedicated autowiring page for #[Autowire] attribute, named autowiring aliases and closures.
Move named autowiring aliases mention into a tip after the config block to avoid interrupting the manual wiring flow. Fix parallel structure in the expanded autowire section.
a4eeaf3 to
128aff8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This addresses part of #22232 by reducing redundant content between
service_container.rstandservice_container/autowiring.rst.Changes:
debug:autowiringoutput that appeared twice inservice_container.rst(replace with a back-reference to the firstoccurrence)
#[Autowire]attribute after the "Manually WiringArguments" section, pointing to the dedicated autowiring docs
specific service" section
key topics covered in the autowiring page (multiple implementations,
#[Autowire]attribute, closures)Fixes #22232