hi all, consider the following XML.
<?xml version="1.0" encoding="UTF-8" ?> <container xmlns="http://www.symfony-project.org/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.symfony-project.org/schema/dic/ services http://www.symfony-project.org/schema/dic/services/services-1.0.xsd"> <parameters> <parameter type="collection" key="some.servicearguments"> <parameter key="first.class">\Object</parameter> <parameter key="second.class">\Object</parameter> </parameter> </parameters> <service id="some.service" class="My\Service"> <argument type="collection">%some.servicearguments%</ argument> </service> </container> It is made up. What I am looking for is a way to configure to pass instances of the class names defines as parameters of the collection "some.servicearguments" to the constructor of "some.service" as an array. Is that possible at all and how? Or how would you do that? Cheers /Christian -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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