Skip to content

Commit

Permalink
Make plugin work with mautic 5
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRAoW committed Feb 6, 2024
1 parent 9815800 commit 67e6b13
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Config/services.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

declare(strict_types=1);

use Mautic\CoreBundle\DependencyInjection\MauticCoreExtension;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;

return function (ContainerConfigurator $configurator): void {
$services = $configurator->services()
->defaults()
// ->autowire()
->autoconfigure()
->public();

$excludes = [
];

$services->load('MauticPlugin\\MauticRssToEmailBundle\\', '../')
->exclude('../{'.implode(',', array_merge(MauticCoreExtension::DEFAULT_EXCLUDES, $excludes)).'}');
};

0 comments on commit 67e6b13

Please sign in to comment.