This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Bundle/FrameworkBundle/Tests
Nicolas Grekas 3263175b9e feature #28970 [FrameworkBundle] make debug:autowiring list useful services and their description (nicolas-grekas)
This PR was merged into the 4.2-dev branch.

Discussion
----------

[FrameworkBundle] make debug:autowiring list useful services and their description

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Bug fix?      | yes
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #27207
| License       | MIT
| Doc PR        | -

This PR closes #27207: we don't need "semantics" anymore. 4.2 has everything already to allow us to separate useful services from the other ones: any autowireable *alias* **is** a useful service!
Add autowiring by type + parameter name (#28234) and the story is done: we can easily hint people about which features their bundles provide, without being polluted by for-wiring-only services.

Here is a screenshot running this command(before I excluded the aliases for $cacheApp and $cacheSystem):
![image 3](https://user-images.githubusercontent.com/243674/47437006-f41f4380-d7a7-11e8-9f76-7f23e9193ce8.png)

ping @weaverryan as we drafted that together.
Fixes a few issues found meanwhile.
That should definitely go in 4.2.

Commits
-------

56aab09b01 [FrameworkBundle] make debug:autowiring list useful services and their description
2018-10-29 10:47:30 +01:00
..
CacheWarmer [FrameworkBundle] Don't populate fallback cache on warmup 2018-09-01 18:33:14 +02:00
Command [FrameworkBundle] Deprecate support for legacy translations and views directories 2018-10-27 16:37:38 +02:00
Console [FrameworkBundle] Fix debug:container which crash when the service class has no doc comment 2018-10-19 16:17:41 +02:00
Controller [FWBundle] Add a new method AbstractController::addLink() 2018-10-24 05:28:45 +02:00
DependencyInjection feature #28952 [Translation] allow using the ICU message format using domains with the "+intl-icu" suffix (nicolas-grekas) 2018-10-28 19:21:04 +01:00
EventListener check _controller attribute is a string before parsing it 2017-07-10 18:12:17 +02:00
Fixtures [FrameworkBundle] Fix debug:container which crash when the service class has no doc comment 2018-10-19 16:17:41 +02:00
Functional [FrameworkBundle] make debug:autowiring list useful services and their description 2018-10-28 22:46:57 +01:00
Kernel Merge branch '4.0' into 4.1 2018-07-26 11:10:45 +02:00
Routing Merge branch '4.1' 2018-07-26 11:13:01 +02:00
Templating Add help_attr 2018-10-17 09:30:39 +02:00
Translation removed usage of sf2 when possible 2018-10-10 12:30:04 -07:00
ClientTest.php [FrameworkBundle] Allow to disable Kernel reboot 2015-03-20 11:50:15 +01:00
TestCase.php Update to PHPUnit namespaces 2017-02-18 08:02:39 -08:00