[DependencyInjection] Dump and Load Scopes #8590

Closed
wants to merge 3 commits into
from

Projects

None yet

2 participants

@jaypea
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.
1167e5f
Jan Prieser Load Scopes from XML and YML files
Add Scopes to Container if defined in Config Files. Duplicates are
ignored.
ca1a5f9
Jan Prieser fix formatting 09f800a
@fabpot
Member
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
Member
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