[DependencyInjection] Dump and Load Scopes #8590

wants to merge 3 commits into


None yet

2 participants

jaypea commented Jul 26, 2013

fixes #8539, see problem description over there.

If a ContainerBuilder Instance has Scopes defined, they are now dumped to XML and YML Files. The PhpDumper already does the same.
The Loaders now also load Scopes from file and registers them at the ContainerBuilder.

Jan Prieser added some commits Jul 26, 2013
Jan Prieser Dump Scopes in XML and YML
if a ContainerBuilder has Scopes defined, they are now dumped to yml
files and xml files also.
Jan Prieser Load Scopes from XML and YML files
Add Scopes to Container if defined in Config Files. Duplicates are
Jan Prieser fix formatting 09f800a
fabpot commented Jul 27, 2013

I'm not convinced that scopes should be part of the dumper/loader system; until now, XML and YAML files are just about describing the services and parameters of a container.

fabpot commented Sep 27, 2013

Closing for the reasons explained in my last comment.

@fabpot fabpot closed this Sep 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment