Преглед на файлове

CartController : ajout mailUtils

feature/module_traiteur_v1
Guillaume преди 3 години
родител
ревизия
abe5d6a895
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. +2
    -0
      ShopBundle/Controller/Frontend/CartController.php

+ 2
- 0
ShopBundle/Controller/Frontend/CartController.php Целия файл

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

Loading…
Отказ
Запис