/** * CodeIgniter support * * @param array configuration * @return void */ public function initialize($config) { foreach ($config as $key => $val) { if (!in_array($key, array('accessKey', 'secretKey'))) { self::$key = $val; } } if (isset($config["accessKey"]) && isset($config["secretKey"])) { self::setAuth($this->accessKey, $this->secretKey); } }