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 679B

4 vuotta sitten
4 vuotta sitten
4 vuotta sitten
4 vuotta sitten
1234567891011121314151617181920212223
  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. use Symfony\Component\Security\Core\Security;
  7. class BaseController extends AbstractController
  8. {
  9. protected $em ;
  10. protected $merchantUtils ;
  11. protected $security ;
  12. public function __construct(EntityManagerInterface $em, Security $security, MerchantUtilsInterface $merchantUtils)
  13. {
  14. $this->em = $em ;
  15. $this->security = $security ;
  16. $this->merchantUtils = $merchantUtils ;
  17. }
  18. }