download all files

This commit is contained in:
Roman Pyrih
2025-06-24 14:14:35 +02:00
parent ebed09c00b
commit 4c71b5d9c2
72007 changed files with 10407727 additions and 40029 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace FreshMail\Sender;
use FreshMail\Discount\Percent;
use Freshmail\Entity\AbandonedCartSettings;
use Freshmail\Entity\FreshmailSetting;
use FreshMail\Interfaces\Sender;
use FreshMail\Repository\FreshmailAbandonCartSettings;
class Factory {
public static function getSender(FreshmailSetting $fmSetting, FreshmailAbandonCartSettings $cartSettings) : Sender
{
if(empty($fmSetting->api_token)) {
return new Legacy($fmSetting, $cartSettings);
} else {
return new FmSender($fmSetting, $cartSettings);
}
}
}