| ... | ... |
@@ -7,10 +7,10 @@ declare(strict_types=1); |
| 7 | 7 |
* |
| 8 | 8 |
* @package contao-member-extension-bundle |
| 9 | 9 |
* @license MIT |
| 10 |
- * @author Daniele Sciannimanica <https://github.com/doishub> |
|
| 11 |
- * @author Fabian Ekert <https://github.com/eki89> |
|
| 12 |
- * @author Sebastian Zoglowek <https://github.com/zoglo> |
|
| 13 |
- * @copyright Oveleon <https://www.oveleon.de/> |
|
| 10 |
+ * @author Sebastian Zoglowek <https://github.com/zoglo> |
|
| 11 |
+ * @author Daniele Sciannimanica <https://github.com/doishub> |
|
| 12 |
+ * @author Fabian Ekert <https://github.com/eki89> |
|
| 13 |
+ * @copyright Oveleon <https://www.oveleon.de/> |
|
| 14 | 14 |
*/ |
| 15 | 15 |
|
| 16 | 16 |
namespace Oveleon\ContaoMemberExtensionBundle\ContaoManager; |
| ... | ... |
@@ -5,7 +5,12 @@ declare(strict_types=1); |
| 5 | 5 |
/* |
| 6 | 6 |
* This file is part of Oveleon ContaoMemberExtension Bundle. |
| 7 | 7 |
* |
| 8 |
- * (c) https://www.oveleon.de/ |
|
| 8 |
+ * @package contao-member-extension-bundle |
|
| 9 |
+ * @license MIT |
|
| 10 |
+ * @author Daniele Sciannimanica <https://github.com/doishub> |
|
| 11 |
+ * @author Fabian Ekert <https://github.com/eki89> |
|
| 12 |
+ * @author Sebastian Zoglowek <https://github.com/zoglo> |
|
| 13 |
+ * @copyright Oveleon <https://www.oveleon.de/> |
|
| 9 | 14 |
*/ |
| 10 | 15 |
|
| 11 | 16 |
namespace Oveleon\ContaoMemberExtensionBundle\ContaoManager; |
| ... | ... |
@@ -15,7 +20,6 @@ use Contao\ManagerPlugin\Bundle\BundlePluginInterface; |
| 15 | 20 |
use Contao\ManagerPlugin\Bundle\Config\BundleConfig; |
| 16 | 21 |
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface; |
| 17 | 22 |
use Oveleon\ContaoMemberExtensionBundle\ContaoMemberExtensionBundle; |
| 18 |
-use Symfony\Component\HttpKernel\KernelInterface; |
|
| 19 | 23 |
|
| 20 | 24 |
class Plugin implements BundlePluginInterface |
| 21 | 25 |
{
|
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,33 @@ |
| 1 |
+<?php |
|
| 2 |
+ |
|
| 3 |
+declare(strict_types=1); |
|
| 4 |
+ |
|
| 5 |
+/* |
|
| 6 |
+ * This file is part of Oveleon ContaoMemberExtension Bundle. |
|
| 7 |
+ * |
|
| 8 |
+ * (c) https://www.oveleon.de/ |
|
| 9 |
+ */ |
|
| 10 |
+ |
|
| 11 |
+namespace Oveleon\ContaoMemberExtensionBundle\ContaoManager; |
|
| 12 |
+ |
|
| 13 |
+use Contao\CoreBundle\ContaoCoreBundle; |
|
| 14 |
+use Contao\ManagerPlugin\Bundle\BundlePluginInterface; |
|
| 15 |
+use Contao\ManagerPlugin\Bundle\Config\BundleConfig; |
|
| 16 |
+use Contao\ManagerPlugin\Bundle\Parser\ParserInterface; |
|
| 17 |
+use Oveleon\ContaoMemberExtensionBundle\ContaoMemberExtensionBundle; |
|
| 18 |
+use Symfony\Component\HttpKernel\KernelInterface; |
|
| 19 |
+ |
|
| 20 |
+class Plugin implements BundlePluginInterface |
|
| 21 |
+{
|
|
| 22 |
+ /** |
|
| 23 |
+ * {@inheritdoc}
|
|
| 24 |
+ */ |
|
| 25 |
+ public function getBundles(ParserInterface $parser): array |
|
| 26 |
+ {
|
|
| 27 |
+ return [ |
|
| 28 |
+ BundleConfig::create(ContaoMemberExtensionBundle::class) |
|
| 29 |
+ ->setLoadAfter([ContaoCoreBundle::class]) |
|
| 30 |
+ ->setReplace(['contao-member-extension-bundle']), |
|
| 31 |
+ ]; |
|
| 32 |
+ } |
|
| 33 |
+} |