We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 04459b9 + 0d5f27b commit cfe392aCopy full SHA for cfe392a
src/InsightsCaller.php
@@ -31,10 +31,11 @@ class InsightsCaller
31
*
32
* @param string $apiKey
33
* @param string $locale
34
+ * @param array $config
35
*/
- public function __construct($apiKey, $locale = 'en')
36
+ public function __construct($apiKey, $locale = 'en', $config = array())
37
{
- $this->client = new Client();
38
+ $this->client = new Client($config);
39
$this->apiKey = $apiKey;
40
$this->locale = $locale;
41
$this->captureScreenshot = true;
0 commit comments