示例#1
0
 public function __construct($rockyMountainDbAdapter = null)
 {
     //set $this->rockyMountainDbAdapter as $cotainer->get('rockyMountainDbAdapter');
     InsideConstruct::initServices();
     $dbTable = new TableGateway(static::TABLE_NAME, $this->rockyMountainDbAdapter);
     parent::__construct($dbTable);
 }
示例#2
0
 public function __construct($emailDbAdapter = null)
 {
     //set $this->emailDbAdapter as $cotainer->get('emailDbAdapter');
     InsideConstruct::initServices();
     $dbTable = new TableGateway(static::TABLE_NAME, $this->emailDbAdapter);
     parent::__construct($dbTable);
     $this->apiEmail = new ApiGmail();
 }