Skip to content

Commit c9ac574

Browse files
committed
feat(client): register analytics v2 to client object
1 parent 5aa6daf commit c9ac574

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Client.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ class Client
7575
*/
7676
public Analytics $analytics;
7777

78+
/**
79+
* @var AnalyticsV2
80+
*/
81+
public AnalyticsV2 $analyticsV2;
82+
7883
/**
7984
* @var Stemming
8085
*/
@@ -128,6 +133,7 @@ public function __construct(array $config)
128133
$this->multiSearch = new MultiSearch($this->apiCall);
129134
$this->presets = new Presets($this->apiCall);
130135
$this->analytics = new Analytics($this->apiCall);
136+
$this->analyticsV2 = new AnalyticsV2($this->apiCall);
131137
$this->stemming = new Stemming($this->apiCall);
132138
$this->conversations = new Conversations($this->apiCall);
133139
$this->nlSearchModels = new NLSearchModels($this->apiCall);

0 commit comments

Comments
 (0)