|
|
@@ -40,6 +40,7 @@ use Lc\CaracoleBundle\Model\Order\OrderShopInterface; |
|
|
|
use Lc\CaracoleBundle\Model\Section\SectionInterface; |
|
|
|
use Lc\CaracoleBundle\Model\User\UserMerchantInterface; |
|
|
|
use Lc\CaracoleBundle\Model\User\VisitorInterface; |
|
|
|
use Lc\CaracoleBundle\Notification\MailMailjetNotification; |
|
|
|
use Lc\CaracoleBundle\Resolver\MerchantResolver; |
|
|
|
use Lc\CaracoleBundle\Resolver\SectionResolver; |
|
|
|
use Lc\CaracoleBundle\Solver\Price\PriceSolver; |
|
|
@@ -54,6 +55,7 @@ trait ControllerTrait |
|
|
|
return array_merge( |
|
|
|
parent::getSubscribedServices(), |
|
|
|
[ |
|
|
|
MailMailjetNotification::class => MailMailjetNotification::class, |
|
|
|
PriceSolver::class => PriceSolver::class, |
|
|
|
MerchantResolver::class => MerchantResolver::class, |
|
|
|
SectionResolver::class => SectionResolver::class, |
|
|
@@ -94,6 +96,11 @@ trait ControllerTrait |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
public function getMailMailjetNotification() |
|
|
|
{ |
|
|
|
return $this->get(MailMailjetNotification::class); |
|
|
|
} |
|
|
|
|
|
|
|
public function getMerchantSettingCurrent(string $settingName) |
|
|
|
{ |
|
|
|
return $this->getSettingValue($this->getMerchantCurrent(), $settingName); |