瀏覽代碼

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…
取消
儲存