| ... | ... |
@@ -16,7 +16,7 @@ use Contao\CoreBundle\ContaoCoreBundle; |
| 16 | 16 |
use Contao\ManagerPlugin\Bundle\BundlePluginInterface; |
| 17 | 17 |
use Contao\ManagerPlugin\Bundle\Config\BundleConfig; |
| 18 | 18 |
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface; |
| 19 |
-use VonRotenbergVonrotenbergMemberfilesBundle; |
|
| 19 |
+use vonRotenberg\MemberfilesBundle\VonrotenbergMemberfilesBundle; |
|
| 20 | 20 |
|
| 21 | 21 |
class Plugin implements BundlePluginInterface |
| 22 | 22 |
{
|
| ... | ... |
@@ -10,7 +10,7 @@ declare(strict_types=1); |
| 10 | 10 |
* @license commercial |
| 11 | 11 |
*/ |
| 12 | 12 |
|
| 13 |
-namespace VonRotenberg\MemberfilesBundle\ContaoManager; |
|
| 13 |
+namespace vonRotenberg\MemberfilesBundle\ContaoManager; |
|
| 14 | 14 |
|
| 15 | 15 |
use Contao\CoreBundle\ContaoCoreBundle; |
| 16 | 16 |
use Contao\ManagerPlugin\Bundle\BundlePluginInterface; |
| ... | ... |
@@ -3,11 +3,11 @@ |
| 3 | 3 |
declare(strict_types=1); |
| 4 | 4 |
|
| 5 | 5 |
/* |
| 6 |
- * This file is part of [package name]. |
|
| 6 |
+ * This file is part of memberfiles bundle. |
|
| 7 | 7 |
* |
| 8 |
- * (c) John Doe |
|
| 8 |
+ * (c) vonRotenberg |
|
| 9 | 9 |
* |
| 10 |
- * @license LGPL-3.0-or-later |
|
| 10 |
+ * @license commercial |
|
| 11 | 11 |
*/ |
| 12 | 12 |
|
| 13 | 13 |
namespace VonRotenberg\MemberfilesBundle\ContaoManager; |
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,30 @@ |
| 1 |
+<?php |
|
| 2 |
+ |
|
| 3 |
+declare(strict_types=1); |
|
| 4 |
+ |
|
| 5 |
+/* |
|
| 6 |
+ * This file is part of [package name]. |
|
| 7 |
+ * |
|
| 8 |
+ * (c) John Doe |
|
| 9 |
+ * |
|
| 10 |
+ * @license LGPL-3.0-or-later |
|
| 11 |
+ */ |
|
| 12 |
+ |
|
| 13 |
+namespace VonRotenberg\MemberfilesBundle\ContaoManager; |
|
| 14 |
+ |
|
| 15 |
+use Contao\CoreBundle\ContaoCoreBundle; |
|
| 16 |
+use Contao\ManagerPlugin\Bundle\BundlePluginInterface; |
|
| 17 |
+use Contao\ManagerPlugin\Bundle\Config\BundleConfig; |
|
| 18 |
+use Contao\ManagerPlugin\Bundle\Parser\ParserInterface; |
|
| 19 |
+use VonRotenbergVonrotenbergMemberfilesBundle; |
|
| 20 |
+ |
|
| 21 |
+class Plugin implements BundlePluginInterface |
|
| 22 |
+{
|
|
| 23 |
+ public function getBundles(ParserInterface $parser): array |
|
| 24 |
+ {
|
|
| 25 |
+ return [ |
|
| 26 |
+ BundleConfig::create(VonrotenbergMemberfilesBundle::class) |
|
| 27 |
+ ->setLoadAfter([ContaoCoreBundle::class]), |
|
| 28 |
+ ]; |
|
| 29 |
+ } |
|
| 30 |
+} |