Пример #1
0
 protected function __construct($db, $awsAccessKey, $awsSecretAccessKey, $kissmetricsBucket)
 {
     parent::__construct();
     $this->db = $db;
     $this->db->connect();
     $this->kissmetricsBucket = $kissmetricsBucket;
     $this->s3 = new S3($awsAccessKey, $awsSecretAccessKey);
 }
Пример #2
0
 protected function __construct()
 {
     parent::__construct();
     global $awsAccessKey;
     global $awsSecretAccessKey;
     global $kissmetricsBucket;
     global $db;
     $this->kissmetrics = \library\vendor\Kissmetrics::getInstance($db, $awsAccessKey, $awsSecretAccessKey, $kissmetricsBucket);
 }
Пример #3
0
 function __construct()
 {
     parent::__construct();
 }