コード例 #1
0
ファイル: GiftCards.php プロジェクト: avz-cmf/zaboy-utils
 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
ファイル: Email.php プロジェクト: avz-cmf/zaboy-utils
 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();
 }