浏览代码

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

正在加载...
取消
保存