public function __construct(EntityManager $em, $container)
 {
     parent::__construct($em);
     $this->mandrillSender = $container->get('hip_mandrill.dispatcher');
     $mandrill_api_key = $container->getParameter('mandrill_api_key');
     $this->mandrillApi = new Mandrill($mandrill_api_key);
 }
 public function __construct(EntityManager $em, $container)
 {
     parent::__construct($em);
     $this->container = $container;
     $stripeParams = $container->getParameter('stripe_params');
     $apiKey = $stripeParams['secret_key'];
     \Stripe::setApiKey($apiKey);
 }
 public function removeAll($ids)
 {
     try {
         $entities = $this->getRepository("DashboardBundle", "ContactList")->findByIDs($ids);
         parent::removeAll($entities);
         return true;
     } catch (\Exception $exc) {
         return false;
     }
 }
 public function __construct($em, $security_context, $router)
 {
     parent::__construct($em);
     $this->security_context = $security_context;
     $this->router = $router;
 }
 public function __construct(EntityManager $em, $container)
 {
     parent::__construct($em);
     $this->mandrillBusiness = $container->get('dashboard.mandrill.business');
 }
 public function __construct($em, $container)
 {
     parent::__construct($em);
     $this->container = $container;
 }
 public function __construct(EntityManager $em)
 {
     parent::__construct($em);
 }