protected function __construct($db, $awsAccessKey, $awsSecretAccessKey, $kissmetricsBucket) { parent::__construct(); $this->db = $db; $this->db->connect(); $this->kissmetricsBucket = $kissmetricsBucket; $this->s3 = new S3($awsAccessKey, $awsSecretAccessKey); }
protected function __construct() { parent::__construct(); global $awsAccessKey; global $awsSecretAccessKey; global $kissmetricsBucket; global $db; $this->kissmetrics = \library\vendor\Kissmetrics::getInstance($db, $awsAccessKey, $awsSecretAccessKey, $kissmetricsBucket); }
function __construct() { parent::__construct(); }