Can the id of an argument of type service be a parameter?

New topics about Symfony 2 should go here

Moderators: dcobalt, tiagojsag

Can the id of an argument of type service be a parameter?

Postby sfUserVan » Thu Apr 12, 2012 6:49 pm

in the xml file, is there anyway to do that:
Code: Select all
<parameters>
<parameter key="test" />
</parameters>
<services>
<service id="testservice">
<argument type="service" id="%test%" />
</service>
<services>
sfUserVan
Junior Member
 
Posts: 2
Joined: Wed Apr 11, 2012 6:35 pm

Re: Can the id of an argument of type service be a parameter

Postby blogsh » Sat Apr 14, 2012 1:54 pm

No, what do you want to do?
blogsh
Faithful Member
 
Posts: 501
Joined: Thu Mar 03, 2011 9:35 pm
Location: Germany


Return to General Symfony 2 discussion

Who is online

Users browsing this forum: Google Feedfetcher and 8 guests