소스 검색

MerchantResolver.php

develop
Guillaume 1 년 전
부모
커밋
45bbb0d032
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. +5
    -1
      Resolver/MerchantResolver.php

+ 5
- 1
Resolver/MerchantResolver.php 파일 보기

@@ -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…
취소
저장