-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Closed
Description
Q | A |
---|---|
Bug report? | no |
Feature request? | yes |
BC Break report? | no |
RFC? | no |
Symfony version | dunno |
When doing a bin/console debug:container <service-name>
, there is two possible outputs:
- You get the service details:
$ bin/console debug:container httplug.client.default
Information for Service "httplug.client.curl"
=============================================
------------------ ------------------------------------------------------
Option Value
------------------ ------------------------------------------------------
Service ID httplug.client.curl
Class Http\HttplugBundle\ClientFactory\DummyClient
Tags -
Public yes
Synthetic no
Lazy no
Shared yes
Abstract no
Autowired no
Autowiring Types -
Factory Class Http\HttplugBundle\ClientFactory\PluginClientFactory
Factory Method createPluginClient
------------------ ------------------------------------------------------
- the service in question is an alias:
$ bin/console debug:container httplug.client
// This service is an alias for the service httplug.client.curl
Might be stupid but personally I find annoying to have to do a second command when I have an alias, even more so if it's an alias of an alias...
IMO it would be better to have something like:
$ bin/console debug:container httplug.client
// This service is an alias for the service httplug.client.curl
Information for Service "httplug.client.curl"
=============================================
------------------ ------------------------------------------------------
Option Value
------------------ ------------------------------------------------------
Service ID httplug.client.curl
Class Http\HttplugBundle\ClientFactory\DummyClient
Tags -
Public yes
Synthetic no
Lazy no
Shared yes
Abstract no
Autowired no
Autowiring Types -
Factory Class Http\HttplugBundle\ClientFactory\PluginClientFactory
Factory Method createPluginClient
------------------ ------------------------------------------------------