<?php declare(strict_types=1); /* * This file is part of Oveleon ContaoMemberExtension Bundle. * * (c) https://www.oveleon.de/ */ namespace Oveleon\ContaoMemberExtensionBundle\ContaoManager; use Contao\CoreBundle\ContaoCoreBundle; use Contao\ManagerPlugin\Bundle\BundlePluginInterface; use Contao\ManagerPlugin\Bundle\Config\BundleConfig; use Contao\ManagerPlugin\Bundle\Parser\ParserInterface; use Oveleon\ContaoMemberExtensionBundle\ContaoMemberExtensionBundle; use Symfony\Component\HttpKernel\KernelInterface; class Plugin implements BundlePluginInterface { /** * {@inheritdoc} */ public function getBundles(ParserInterface $parser): array { return [ BundleConfig::create(ContaoMemberExtensionBundle::class) ->setLoadAfter([ContaoCoreBundle::class]) ->setReplace(['contao-member-extension-bundle']), ]; } }