/** * MandrillLib::__construct() * * @param string $apiKey * @throws Exception If apiKey not found. */ public function __construct($apiKey = null) { $apiKey = Configure::read('Mandrill.apiKey'); parent::__construct($apiKey); //TODO: optionally allow ssl here //curl_setopt($this->ch, CURLOPT_SSL_VERIFYHOST, 0); //curl_setopt($this->ch, CURLOPT_SSL_VERIFYPEER, 0); }
public function __construct($apiKey) { parent::__construct($apiKey); }
public function __construct() { $this->apiKey = "iWXEJKCA9DGqgNXxP__oJA"; parent::__construct($this->apiKey); }
public function __construct() { $this->apiKey = \Yii::$app->params['mail']['apiKey']; parent::__construct($this->apiKey); }
public function __construct($apiKey) { parent::__construct($apiKey); curl_setopt($this->ch, CURLOPT_SSL_VERIFYPEER, FALSE); }