Browse Source

MerchantResolver.php

develop
Guillaume 1 year ago
parent
commit
45bbb0d032
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      Resolver/MerchantResolver.php

+ 5
- 1
Resolver/MerchantResolver.php View File

@@ -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()

Loading…
Cancel
Save