/**
  * __construct(): When a new Consumer class is created at the time of starting the mbc-digest-script
  * this method will ensure key variables are constructed.
  */
 public function __construct($batchSize)
 {
     $this->batchSize = $batchSize;
     parent::__construct();
     // Future support of different Services other than Mandrill could be toggled. Currently the Mandrill
     // service is hard coded. There's no reason more than one service could be used at the same time
     // depending on the affiliates arrangements. Use of the different Service classes could be toggled with
     // logic for user origin.
     // See mbc-registration-mobile for working example of toggling based on user origin.
     $this->mbConfig = MB_Configuration::getInstance();
     $this->mbcDEMessenger = $this->mbConfig->getProperty('mbcDEMessenger');
 }
 /**
  * Setup MBP_UserDigest_DirectorConsumer basic functionality.
  */
 public function __construct()
 {
     parent::__construct();
     $this->messageBroker_fanoutUserDigest = $this->mbConfig->getProperty('messageBroker_fanoutUserDigest');
     $this->mbToolboxcURL = $this->mbConfig->getProperty('mbToolboxcURL');
 }