Browse code

Change directory structure of bundle and add first draft of fragment controller module

Benjamin Roth authored on10/01/2023 14:11:33
Showing1 changed files
... ...
@@ -16,4 +16,8 @@ use Symfony\Component\HttpKernel\Bundle\Bundle;
16 16
 
17 17
 class VonrotenbergModalBundle extends Bundle
18 18
 {
19
+    public function getPath(): string
20
+    {
21
+        return \dirname(__DIR__);
22
+    }
19 23
 }
Browse code

Fix namespace in Bundle File

Benjamin Roth authored on09/01/2023 22:36:43
Showing1 changed files
... ...
@@ -10,7 +10,7 @@ declare(strict_types=1);
10 10
  * @license LGPL-3.0-or-later
11 11
  */
12 12
 
13
-namespace Contao\SkeletonBundle;
13
+namespace vonRotenberg\ModalBundle;
14 14
 
15 15
 use Symfony\Component\HttpKernel\Bundle\Bundle;
16 16
 
Browse code

Initial commit

Benjamin Roth authored on09/01/2023 22:28:04
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,19 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
+
5
+/*
6
+ * This file is part of modal bundle for Contao.
7
+ *
8
+ * (c) Benjamin Roth
9
+ *
10
+ * @license LGPL-3.0-or-later
11
+ */
12
+
13
+namespace Contao\SkeletonBundle;
14
+
15
+use Symfony\Component\HttpKernel\Bundle\Bundle;
16
+
17
+class VonrotenbergModalBundle extends Bundle
18
+{
19
+}