scalar_defaults.xml 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <routes xmlns="http://symfony.com/schema/routing"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://symfony.com/schema/routing
  5. http://symfony.com/schema/routing/routing-1.0.xsd">
  6. <route id="blog" path="/blog">
  7. <default key="_controller">
  8. <string>AcmeBlogBundle:Blog:index</string>
  9. </default>
  10. <default key="slug" xsi:nil="true" />
  11. <default key="published">
  12. <bool>true</bool>
  13. </default>
  14. <default key="page">
  15. <int>1</int>
  16. </default>
  17. <default key="price">
  18. <float>3.5</float>
  19. </default>
  20. <default key="archived">
  21. <bool>false</bool>
  22. </default>
  23. <default key="free">
  24. <bool>1</bool>
  25. </default>
  26. <default key="locked">
  27. <bool>0</bool>
  28. </default>
  29. <default key="foo" xsi:nil="true" />
  30. <default key="bar" xsi:nil="1" />
  31. </route>
  32. </routes>