Переглянути джерело

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 Переглянути файл

protected $userUtils ; protected $userUtils ;
protected $priceUtils ; protected $priceUtils ;
protected $sectionUtils ; protected $sectionUtils ;
protected $mailUtils ;
protected $router ; protected $router ;
protected $productFamilyRepository ; protected $productFamilyRepository ;
protected $orderProductRepository ; protected $orderProductRepository ;
$this->userUtils = $utilsManager->getUserUtils() ; $this->userUtils = $utilsManager->getUserUtils() ;
$this->priceUtils = $utilsManager->getPriceUtils() ; $this->priceUtils = $utilsManager->getPriceUtils() ;
$this->sectionUtils = $utilsManager->getSectionUtils() ; $this->sectionUtils = $utilsManager->getSectionUtils() ;
$this->mailUtils = $utilsManager->getMailUtils() ;
$this->router = $router ; $this->router = $router ;
$this->productFamilyRepository = $this->em->getRepository($this->em->getClassMetaData(ProductFamilyInterface::class)->getName()) ; $this->productFamilyRepository = $this->em->getRepository($this->em->getClassMetaData(ProductFamilyInterface::class)->getName()) ;
$this->orderProductRepository = $this->em->getRepository($this->em->getClassMetaData(OrderProductInterface::class)->getName()) ; $this->orderProductRepository = $this->em->getRepository($this->em->getClassMetaData(OrderProductInterface::class)->getName()) ;

Завантаження…
Відмінити
Зберегти