Parcourir la source

MerchantResolver.php

develop
Guillaume il y a 1 an
Parent
révision
45bbb0d032
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  1. +5
    -1
      Resolver/MerchantResolver.php

+ 5
- 1
Resolver/MerchantResolver.php Voir le fichier

@@ -15,6 +15,7 @@ use Lc\CaracoleBundle\Model\User\UserMerchantInterface;
use Lc\CaracoleBundle\Repository\Merchant\MerchantRepository;
use Lc\CaracoleBundle\Repository\Merchant\MerchantStore;
use Lc\CaracoleBundle\Repository\User\UserMerchantRepository;
use Lc\CaracoleBundle\Solver\Merchant\MerchantSolver;
use Lc\SovBundle\Model\User\UserInterface;
use Lc\SovBundle\Resolver\UrlResolver;
use Lc\SovBundle\Solver\Setting\SettingSolver;
@@ -37,6 +38,7 @@ class MerchantResolver
protected MerchantStore $merchantStore;
protected ParameterBagInterface $parameterBag;
protected SettingSolver $settingSolver;
protected MerchantSolver $merchantSolver;

public function __construct(
EntityManagerInterface $entityManager,
@@ -48,7 +50,8 @@ class MerchantResolver
UrlGeneratorInterface $router,
MerchantStore $merchantStore,
ParameterBagInterface $parameterBag,
SettingSolver $settingSolver
SettingSolver $settingSolver,
MerchantSolver $merchantSolver
) {
$this->requestStack = $requestStack;
$this->em = $entityManager;
@@ -60,6 +63,7 @@ class MerchantResolver
$this->router = $router;
$this->parameterBag = $parameterBag;
$this->settingSolver = $settingSolver;
$this->merchantSolver = $merchantSolver;
}

public function isOutOfMerchant()

Chargement…
Annuler
Enregistrer