|
|
|
|
|
|
|
|
use Lc\CaracoleBundle\Repository\Merchant\MerchantRepository; |
|
|
use Lc\CaracoleBundle\Repository\Merchant\MerchantRepository; |
|
|
use Lc\CaracoleBundle\Repository\Merchant\MerchantStore; |
|
|
use Lc\CaracoleBundle\Repository\Merchant\MerchantStore; |
|
|
use Lc\CaracoleBundle\Repository\User\UserMerchantRepository; |
|
|
use Lc\CaracoleBundle\Repository\User\UserMerchantRepository; |
|
|
|
|
|
use Lc\CaracoleBundle\Solver\Merchant\MerchantSolver; |
|
|
use Lc\SovBundle\Model\User\UserInterface; |
|
|
use Lc\SovBundle\Model\User\UserInterface; |
|
|
use Lc\SovBundle\Resolver\UrlResolver; |
|
|
use Lc\SovBundle\Resolver\UrlResolver; |
|
|
use Lc\SovBundle\Solver\Setting\SettingSolver; |
|
|
use Lc\SovBundle\Solver\Setting\SettingSolver; |
|
|
|
|
|
|
|
|
protected MerchantStore $merchantStore; |
|
|
protected MerchantStore $merchantStore; |
|
|
protected ParameterBagInterface $parameterBag; |
|
|
protected ParameterBagInterface $parameterBag; |
|
|
protected SettingSolver $settingSolver; |
|
|
protected SettingSolver $settingSolver; |
|
|
|
|
|
protected MerchantSolver $merchantSolver; |
|
|
|
|
|
|
|
|
public function __construct( |
|
|
public function __construct( |
|
|
EntityManagerInterface $entityManager, |
|
|
EntityManagerInterface $entityManager, |
|
|
|
|
|
|
|
|
UrlGeneratorInterface $router, |
|
|
UrlGeneratorInterface $router, |
|
|
MerchantStore $merchantStore, |
|
|
MerchantStore $merchantStore, |
|
|
ParameterBagInterface $parameterBag, |
|
|
ParameterBagInterface $parameterBag, |
|
|
SettingSolver $settingSolver |
|
|
|
|
|
|
|
|
SettingSolver $settingSolver, |
|
|
|
|
|
MerchantSolver $merchantSolver |
|
|
) { |
|
|
) { |
|
|
$this->requestStack = $requestStack; |
|
|
$this->requestStack = $requestStack; |
|
|
$this->em = $entityManager; |
|
|
$this->em = $entityManager; |
|
|
|
|
|
|
|
|
$this->router = $router; |
|
|
$this->router = $router; |
|
|
$this->parameterBag = $parameterBag; |
|
|
$this->parameterBag = $parameterBag; |
|
|
$this->settingSolver = $settingSolver; |
|
|
$this->settingSolver = $settingSolver; |
|
|
|
|
|
$this->merchantSolver = $merchantSolver; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function isOutOfMerchant() |
|
|
public function isOutOfMerchant() |