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/Component/DependencyInjection/Loader
Fabien Potencier 833909bd68 feature #26921 [DI][FrameworkBundle] Hide service ids that start with a dot (nicolas-grekas)
This PR was merged into the 4.1-dev branch.

Discussion
----------

[DI][FrameworkBundle] Hide service ids that start with a dot

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

Now that services are private by default, `debug:container` should display them by default.
In fact, the public/private concept should not trigger a difference in visibility for this command.

Instead, I propose to handle service ids that start with a dot as hidden services.

PR should be ready.

(For reference, I tried using a tag instead in #26891, but that doesn't work in practice when working on the implementation.)

Commits
-------

cea051ee5e [DI][FrameworkBundle] Hide service ids that start with a dot
2018-04-20 15:23:35 +02:00
..
Configurator [DI][FrameworkBundle] Hide service ids that start with a dot 2018-04-20 15:14:43 +02:00
schema/dic/services [DI] Allow binary values in parameters. 2018-03-27 14:07:16 +02:00
ClosureLoader.php [DI] minor docblock fixes 2017-10-24 13:40:19 +02:00
DirectoryLoader.php fixed CS 2017-09-11 14:23:01 -07:00
FileLoader.php Merge branch '3.4' into 4.0 2018-01-31 11:41:17 +01:00
GlobFileLoader.php [DI][Routing] Fix tracking of globbed resources 2018-01-31 16:05:11 +01:00
IniFileLoader.php fixed CS 2017-09-11 14:23:01 -07:00
PhpFileLoader.php [DI] Add "PHP fluent format" for configuring the container 2017-09-20 09:09:19 +02:00
XmlFileLoader.php feature #26921 [DI][FrameworkBundle] Hide service ids that start with a dot (nicolas-grekas) 2018-04-20 15:23:35 +02:00
YamlFileLoader.php feature #26921 [DI][FrameworkBundle] Hide service ids that start with a dot (nicolas-grekas) 2018-04-20 15:23:35 +02:00