]> Raphaël G. Git Repositories - recipe/commitdiff
Add configuration files
authorRaphaël Gertz <git@rapsys.eu>
Mon, 28 Oct 2019 15:06:45 +0000 (16:06 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Mon, 28 Oct 2019 15:06:45 +0000 (16:06 +0100)
rapsys/airbundle/dev-master/config/routes/rapsys_air.yaml [new file with mode: 0644]
rapsys/airbundle/dev-master/config/services/rapsys_air.yaml [new file with mode: 0644]

diff --git a/rapsys/airbundle/dev-master/config/routes/rapsys_air.yaml b/rapsys/airbundle/dev-master/config/routes/rapsys_air.yaml
new file mode 100644 (file)
index 0000000..dd63f57
--- /dev/null
@@ -0,0 +1,17 @@
+rapsys_air_homepage:
+    path:     /
+    defaults: { _controller: RapsysAirBundle:Default:index }
+
+rapsys_air_admin:
+    path:     /admin
+    defaults: { _controller: RapsysAirBundle:Default:admin }
+
+rapsys_air_contact:
+    path:     /contact
+    defaults: { _controller: RapsysAirBundle:Default:contact }
+
+rapsys_air_session:
+    path:     /admin/session/{id}
+    defaults: { _controller: RapsysAirBundle:Default:session }
+    requirements:
+        id: '\d+'
diff --git a/rapsys/airbundle/dev-master/config/services/rapsys_air.yaml b/rapsys/airbundle/dev-master/config/services/rapsys_air.yaml
new file mode 100644 (file)
index 0000000..9f2f696
--- /dev/null
@@ -0,0 +1,15 @@
+services:
+    rapsys_air.twig.file_get_contents:
+        class: Rapsys\AirBundle\Twig\FileGetContentsExtension
+        tags: [ twig.extension ]
+    rapsys_air.twig.base64:
+        class: Rapsys\AirBundle\Twig\Base64Extension
+        tags: [ twig.extension ]
+    rapsys_air.twig.bb2html:
+        class: Rapsys\AirBundle\Twig\Bb2htmlExtension
+        tags: [ twig.extension ]
+    Rapsys\AirBundle\DataFixtures\AirFixtures:
+        tags: [ doctrine.fixture.orm ]
+#    rapsys_air.example:
+#        class: Rapsys\AirBundle\Example
+#        arguments: ["@service_id", "plain_value", "%parameter%"]