services2.xml 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" ?>
  2. <container xmlns="http://symfony.com/schema/dic/services"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
  5. <parameters>
  6. <parameter>a string</parameter>
  7. <parameter key="FOO">bar</parameter>
  8. <parameter key="values" type="collection">
  9. <parameter>0</parameter>
  10. <parameter key="integer">4</parameter>
  11. <parameter key="100">null</parameter>
  12. <parameter type="string">true</parameter>
  13. <parameter>true</parameter>
  14. <parameter>false</parameter>
  15. <parameter>on</parameter>
  16. <parameter>off</parameter>
  17. <parameter key="float">1.3</parameter>
  18. <parameter>1000.3</parameter>
  19. <parameter>a string</parameter>
  20. <parameter type="collection">
  21. <parameter>foo</parameter>
  22. <parameter>bar</parameter>
  23. </parameter>
  24. </parameter>
  25. <parameter key="MixedCase" type="collection"> <!-- Should be lower cased -->
  26. <parameter key="MixedCaseKey">value</parameter> <!-- Should stay mixed case -->
  27. </parameter>
  28. <parameter key="constant" type="constant">PHP_EOL</parameter>
  29. </parameters>
  30. </container>