Version 1
[yaffs-website] / vendor / symfony / routing / Tests / Fixtures / validpattern.yml
diff --git a/vendor/symfony/routing/Tests/Fixtures/validpattern.yml b/vendor/symfony/routing/Tests/Fixtures/validpattern.yml
new file mode 100644 (file)
index 0000000..565abaa
--- /dev/null
@@ -0,0 +1,13 @@
+blog_show:
+    path:         /blog/{slug}
+    defaults:     { _controller: "MyBundle:Blog:show" }
+    host:         "{locale}.example.com"
+    requirements: { 'locale': '\w+' }
+    methods:      ['GET','POST','put','OpTiOnS']
+    schemes:      ['https']
+    condition:    'context.getMethod() == "GET"'
+    options:
+        compiler_class: RouteCompiler
+
+blog_show_inherited:
+    path:      /blog/{slug}