Hi,

I just read the documentation of the Dependency Injection Container
and wonder whether it is possible to load several files at once
(contrary to importing):

e.g.:
$loader->load('model.xml', 'application.xml');

Spring has this ability, and combining multiple bean definitions this
way is considered better than hard-coding the imports[1], because the
bean definition files don't need to be aware of each other. This can
be important if you, for instance, want to use model.xml in production
and test environments, but want to combine it with different other XML
files.

So is this possible?


Bernhard

[1] 
http://static.springframework.org/spring/docs/2.5.x/reference/beans.html#beans-factory-xml-import

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to