You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BaseController.php 537B

1234567891011121314151617181920
  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. }