Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Open
Description
Description
When the container is created, it contains a bunch of various services. This can be caused by various config files (YAML, XML, PHP), compiler passes, bundles, etc.
This information is valuable from the DX POV because various tooling around Symfony (JetBrains plugin, LSPs etc) need this information to navigate from services to their sources. The current approach is to scan the various possible sources and try to deduce this information, which is difficult and error prone. It also means a huge barrier of entry for this type of feature in a new tool.
What could happen is, Symfony could track this information itself and:
- provide it in the dumped XML
- use it in own tooling, say in
debug:container - used by compilation exceptions (thanks@GromNaN!)
Example
No response