The current autodiscover configuration will look at directories across all bundles. I don't understand the point of this: third-party bundles should never use autowiring anyways.
I think we should remove this and keep only the directories key. This would allow the bundle to (potentially) be more opinionated anyways - for example in #27 - I was wondering if this was originally written because some core bundles have extra stuff in Command, and this was a workaround. If you don't auto-discover all bundles, you can register this stuff as services.
The current
autodiscover
configuration will look at directories across all bundles. I don't understand the point of this: third-party bundles should never use autowiring anyways.I think we should remove this and keep only the
directories
key. This would allow the bundle to (potentially) be more opinionated anyways - for example in #27 - I was wondering if this was originally written because some core bundles have extra stuff inCommand
, and this was a workaround. If you don't auto-discover all bundles, you can register this stuff as services.