Register NewslettersExporter as service

[MAILPOET-3269]
This commit is contained in:
Jan Lysý
2021-05-28 11:33:31 +02:00
committed by Veljko V
parent aeeceeeb8d
commit d7724c5768
2 changed files with 4 additions and 1 deletions

View File

@ -261,6 +261,7 @@ class ContainerConfigurator implements IContainerConfigurator {
$container->autowire(\MailPoet\Subscribers\SubscriberSaveController::class)->setPublic(true);
$container->autowire(\MailPoet\Subscribers\SubscriberSubscribeController::class)->setPublic(true);
$container->autowire(\MailPoet\Subscribers\ImportExport\ImportExportRepository::class)->setPublic(true);
$container->autowire(\MailPoet\Subscribers\ImportExport\PersonalDataExporters\NewslettersExporter::class)->setPublic(true);
$container->autowire(\MailPoet\Subscribers\Statistics\SubscriberStatisticsRepository::class);
// Segments
$container->autowire(\MailPoet\Segments\WooCommerce::class)->setPublic(true);