20 lines
537B

  1. <?php
  2. namespace Lc\ShopBundle\Controller\Frontend ;
  3. use Doctrine\ORM\EntityManagerInterface;
  4. use Lc\ShopBundle\Context\MerchantUtilsInterface;
  5. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  6. class BaseController extends AbstractController
  7. {
  8. protected $em ;
  9. protected $merchantUtils ;
  10. public function __construct(EntityManagerInterface $em, MerchantUtilsInterface $merchantUtils)
  11. {
  12. $this->em = $em ;
  13. $this->merchantUtils = $merchantUtils ;
  14. }
  15. }