Hi!

For one class I need to pass floats and a string with only "\r\n\r\n" inside 
as a config parameter. 

Here is what I mean:

<parameter key="my.config" type="collection">
<parameter key="sessionTimeout">3.0</parameter>
<parameter key="messagesDelimiter">\r\n\r\n</parameter>
</parameter>

<service id="my.class" class="%my.class.class%">
<argument>%my.config%</argument>
</service>

What I actually get is an integer and a string with '\r\n\r\n'

*array*
  'sessionTimeout' => int 3
  'messagesDelimiter' => string '\r\n\r\n' *(length=8)*

But I need a float with value 3.0 and a string with two carriage returns and 
two newline chars inside.

Is there any way to do that in my service description xml files and global app 
yaml config file?

Thanks!

-- 
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 developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to