Przeglądaj źródła

CartController : ajout mailUtils

feature/module_traiteur_v1
Guillaume 3 lat temu
rodzic
commit
abe5d6a895
1 zmienionych plików z 2 dodań i 0 usunięć
  1. +2
    -0
      ShopBundle/Controller/Frontend/CartController.php

+ 2
- 0
ShopBundle/Controller/Frontend/CartController.php Wyświetl plik

@@ -28,6 +28,7 @@ class CartController extends BaseController
protected $userUtils ;
protected $priceUtils ;
protected $sectionUtils ;
protected $mailUtils ;
protected $router ;
protected $productFamilyRepository ;
protected $orderProductRepository ;
@@ -44,6 +45,7 @@ class CartController extends BaseController
$this->userUtils = $utilsManager->getUserUtils() ;
$this->priceUtils = $utilsManager->getPriceUtils() ;
$this->sectionUtils = $utilsManager->getSectionUtils() ;
$this->mailUtils = $utilsManager->getMailUtils() ;
$this->router = $router ;
$this->productFamilyRepository = $this->em->getRepository($this->em->getClassMetaData(ProductFamilyInterface::class)->getName()) ;
$this->orderProductRepository = $this->em->getRepository($this->em->getClassMetaData(OrderProductInterface::class)->getName()) ;

Ładowanie…
Anuluj
Zapisz