Skip to content

Commit afa1476

Browse files
committed
feat: register curation set classes to client object
1 parent 2f601a4 commit afa1476

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/Client.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ class Client
9595
*/
9696
public SynonymSets $synonymSets;
9797

98+
/**
99+
* @var CurationSets
100+
*/
101+
public CurationSets $curationSets;
102+
98103
/**
99104
* @var ApiCall
100105
*/
@@ -127,6 +132,7 @@ public function __construct(array $config)
127132
$this->conversations = new Conversations($this->apiCall);
128133
$this->nlSearchModels = new NLSearchModels($this->apiCall);
129134
$this->synonymSets = new SynonymSets($this->apiCall);
135+
$this->curationSets = new CurationSets($this->apiCall);
130136
}
131137

132138
/**
@@ -248,4 +254,12 @@ public function getSynonymSets(): SynonymSets
248254
{
249255
return $this->synonymSets;
250256
}
257+
258+
/**
259+
* @return CurationSets
260+
*/
261+
public function getCurationSets(): CurationSets
262+
{
263+
return $this->curationSets;
264+
}
251265
}

0 commit comments

Comments
 (0)