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
Fabien Potencier 3ae36f4552 feature #22024 [DI] Introduce "container.service_locator" tag, replaces ServiceLocatorArgument (nicolas-grekas)
This PR was merged into the 3.3-dev branch.

Discussion
----------

[DI] Introduce "container.service_locator" tag, replaces ServiceLocatorArgument

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no (master only)
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

I first started working on adding this new "container.service_locator" tag, so here it is.
It allows defining and dumping service-locator services properly, where it wasn't possible previously (you had to create a DI extension to do so.)

Then I realized that this allowed us to entirely drop `ServiceLocatorArgument` and replace it with the more flexible `ServiceClosureArgument`.

This makes things simpler overall, see diff stat.

Commits
-------

5d230b5871 [DI] Introduce "container.service_locator" tag, replaces ServiceLocatorArgument
2017-03-17 10:07:04 -07:00
..
CacheWarmer Merge branch '3.2' 2017-02-14 17:35:24 +01:00
Command Updated PHPUnit namespaces 2017-02-20 14:34:33 +01:00
Console [DI] Introduce "container.service_locator" tag, replaces ServiceLocatorArgument 2017-03-17 17:49:32 +01:00
Controller [FrameworkBundle] Introduce autowirable ControllerTrait 2017-03-02 12:20:19 -08:00
DependencyInjection feature #22024 [DI] Introduce "container.service_locator" tag, replaces ServiceLocatorArgument (nicolas-grekas) 2017-03-17 10:07:04 -07:00
Fixtures [DI] Introduce "container.service_locator" tag, replaces ServiceLocatorArgument 2017-03-17 17:49:32 +01:00
Functional Merge branch '3.2' 2017-03-14 08:58:07 +01:00
Kernel Merge branch '2.8' into 3.2 2017-02-20 13:38:41 +01:00
Routing [DI][Router][DX] Invalidate routing cache when container parameters changed 2017-03-05 20:24:24 +01:00
Templating Merge branch '3.2' 2017-02-18 18:35:19 +01:00
Translation [FrameworkBundle] Fix translation dep constraint 2017-03-17 11:28:35 +01:00
Validator Update to PHPUnit namespaces 2017-02-18 08:02:39 -08: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