@@ -8,12 +8,12 @@ |
||
8 | 8 | |
9 | 9 | namespace flipbox\hubspot\services\resources\traits; |
10 | 10 | |
11 | -use flipbox\hubspot\builders\ObjectBuilderInterface; |
|
12 | -use flipbox\hubspot\connections\ConnectionInterface; |
|
13 | -use flipbox\hubspot\transformers\collections\TransformerCollectionInterface; |
|
14 | 11 | use League\Pipeline\PipelineBuilderInterface; |
15 | 12 | use Psr\Http\Message\ResponseInterface; |
16 | 13 | use Psr\SimpleCache\CacheInterface; |
14 | +use flipbox\hubspot\builders\ObjectBuilderInterface; |
|
15 | +use flipbox\hubspot\connections\ConnectionInterface; |
|
16 | +use flipbox\hubspot\transformers\collections\TransformerCollectionInterface; |
|
17 | 17 | |
18 | 18 | /** |
19 | 19 | * @author Flipbox Factory <[email protected]> |
@@ -35,9 +35,9 @@ discard block |
||
35 | 35 | |
36 | 36 | /** |
37 | 37 | * @param ObjectBuilderInterface $builder |
38 | - * @param ConnectionInterface|string|null $connection |
|
39 | - * @param CacheInterface|string|null $cache |
|
40 | - * @param TransformerCollectionInterface|array|null $transformer |
|
38 | + * @param null|ConnectionInterface $connection |
|
39 | + * @param null|CacheInterface $cache |
|
40 | + * @param null|TransformerCollectionInterface $transformer |
|
41 | 41 | * @param null $source |
42 | 42 | * @return mixed |
43 | 43 | * @throws \yii\base\InvalidConfigException |
@@ -62,9 +62,9 @@ discard block |
||
62 | 62 | /** |
63 | 63 | * @param array $payload |
64 | 64 | * @param string|null $identifier |
65 | - * @param ConnectionInterface|string|null $connection |
|
66 | - * @param CacheInterface|string|null $cache |
|
67 | - * @param TransformerCollectionInterface|array|null $transformer |
|
65 | + * @param null|ConnectionInterface $connection |
|
66 | + * @param null|CacheInterface $cache |
|
67 | + * @param null|TransformerCollectionInterface $transformer |
|
68 | 68 | * @param null $source |
69 | 69 | * @return mixed |
70 | 70 | * @throws \yii\base\InvalidConfigException |
@@ -98,9 +98,9 @@ discard block |
||
98 | 98 | |
99 | 99 | /** |
100 | 100 | * @param ObjectBuilderInterface $builder |
101 | - * @param ConnectionInterface|string|null $connection |
|
102 | - * @param CacheInterface|string|null $cache |
|
103 | - * @param TransformerCollectionInterface|array|null $transformer |
|
101 | + * @param null|ConnectionInterface $connection |
|
102 | + * @param null|CacheInterface $cache |
|
103 | + * @param null|TransformerCollectionInterface $transformer |
|
104 | 104 | * @return PipelineBuilderInterface |
105 | 105 | * @throws \yii\base\InvalidConfigException |
106 | 106 | */ |
@@ -122,9 +122,9 @@ discard block |
||
122 | 122 | /** |
123 | 123 | * @param array $payload |
124 | 124 | * @param string|null $identifier |
125 | - * @param ConnectionInterface|string|null $connection |
|
126 | - * @param CacheInterface|string|null $cache |
|
127 | - * @param TransformerCollectionInterface|array|null $transformer |
|
125 | + * @param null|ConnectionInterface $connection |
|
126 | + * @param null|CacheInterface $cache |
|
127 | + * @param null|TransformerCollectionInterface $transformer |
|
128 | 128 | * @return PipelineBuilderInterface |
129 | 129 | * @throws \yii\base\InvalidConfigException |
130 | 130 | */ |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | |
154 | 154 | /** |
155 | 155 | * @param ObjectBuilderInterface $builder |
156 | - * @param ConnectionInterface|string|null $connection |
|
156 | + * @param null|ConnectionInterface $connection |
|
157 | 157 | * @return callable |
158 | 158 | * @throws \yii\base\InvalidConfigException |
159 | 159 | */ |
@@ -170,8 +170,8 @@ discard block |
||
170 | 170 | /** |
171 | 171 | * @param array $payload |
172 | 172 | * @param string|null $identifier |
173 | - * @param ConnectionInterface|string|null $connection |
|
174 | - * @param CacheInterface|string|null $cache |
|
173 | + * @param null|ConnectionInterface $connection |
|
174 | + * @param null|CacheInterface $cache |
|
175 | 175 | * @return callable |
176 | 176 | * @throws \yii\base\InvalidConfigException |
177 | 177 | */ |
@@ -198,8 +198,8 @@ discard block |
||
198 | 198 | |
199 | 199 | /** |
200 | 200 | * @param ObjectBuilderInterface $builder |
201 | - * @param ConnectionInterface|string|null $connection |
|
202 | - * @param CacheInterface|string|null $cache |
|
201 | + * @param null|ConnectionInterface $connection |
|
202 | + * @param null|CacheInterface $cache |
|
203 | 203 | * @return ResponseInterface |
204 | 204 | * @throws \yii\base\InvalidConfigException |
205 | 205 | */ |
@@ -219,8 +219,8 @@ discard block |
||
219 | 219 | /** |
220 | 220 | * @param array $payload |
221 | 221 | * @param string|null $identifier |
222 | - * @param ConnectionInterface|string|null $connection |
|
223 | - * @param CacheInterface|string|null $cache |
|
222 | + * @param null|ConnectionInterface $connection |
|
223 | + * @param null|CacheInterface $cache |
|
224 | 224 | * @return ResponseInterface |
225 | 225 | * @throws \yii\base\InvalidConfigException |
226 | 226 | */ |
@@ -8,18 +8,18 @@ |
||
8 | 8 | |
9 | 9 | namespace flipbox\hubspot\services\resources\traits; |
10 | 10 | |
11 | +use Flipbox\Relay\Builder\RelayBuilderInterface; |
|
12 | +use League\Pipeline\PipelineBuilderInterface; |
|
13 | +use Psr\Http\Message\ResponseInterface; |
|
14 | +use Psr\SimpleCache\CacheInterface; |
|
15 | +use flipbox\hubspot\HubSpot; |
|
11 | 16 | use flipbox\hubspot\builders\ObjectBuilderInterface; |
12 | 17 | use flipbox\hubspot\connections\ConnectionInterface; |
13 | 18 | use flipbox\hubspot\helpers\CacheHelper; |
14 | 19 | use flipbox\hubspot\helpers\ConnectionHelper; |
15 | 20 | use flipbox\hubspot\helpers\TransformerHelper; |
16 | -use flipbox\hubspot\HubSpot; |
|
17 | 21 | use flipbox\hubspot\pipeline\Resource; |
18 | 22 | use flipbox\hubspot\transformers\collections\TransformerCollectionInterface; |
19 | -use Flipbox\Relay\Builder\RelayBuilderInterface; |
|
20 | -use League\Pipeline\PipelineBuilderInterface; |
|
21 | -use Psr\Http\Message\ResponseInterface; |
|
22 | -use Psr\SimpleCache\CacheInterface; |
|
23 | 23 | |
24 | 24 | /** |
25 | 25 | * @author Flipbox Factory <[email protected]> |
@@ -34,9 +34,9 @@ discard block |
||
34 | 34 | |
35 | 35 | /** |
36 | 36 | * @param ObjectBuilderInterface $builder |
37 | - * @param ConnectionInterface|string|null $connection |
|
38 | - * @param CacheInterface|string|null $cache |
|
39 | - * @param TransformerCollectionInterface|array|null $transformer |
|
37 | + * @param null|ConnectionInterface $connection |
|
38 | + * @param null|CacheInterface $cache |
|
39 | + * @param null|TransformerCollectionInterface $transformer |
|
40 | 40 | * @param null $source |
41 | 41 | * @return mixed |
42 | 42 | * @throws \yii\base\InvalidConfigException |
@@ -61,9 +61,9 @@ discard block |
||
61 | 61 | /** |
62 | 62 | * @param string $id |
63 | 63 | * @param array $payload |
64 | - * @param ConnectionInterface|string|null $connection |
|
65 | - * @param CacheInterface|string|null $cache |
|
66 | - * @param TransformerCollectionInterface|array|null $transformer |
|
64 | + * @param null|ConnectionInterface $connection |
|
65 | + * @param null|CacheInterface $cache |
|
66 | + * @param null|TransformerCollectionInterface $transformer |
|
67 | 67 | * @param null $source |
68 | 68 | * @return mixed |
69 | 69 | * @throws \yii\base\InvalidConfigException |
@@ -87,9 +87,9 @@ discard block |
||
87 | 87 | |
88 | 88 | /** |
89 | 89 | * @param ObjectBuilderInterface $builder |
90 | - * @param ConnectionInterface|string|null $connection |
|
91 | - * @param CacheInterface|string|null $cache |
|
92 | - * @param TransformerCollectionInterface|array|null $transformer |
|
90 | + * @param null|ConnectionInterface $connection |
|
91 | + * @param null|CacheInterface $cache |
|
92 | + * @param null|TransformerCollectionInterface $transformer |
|
93 | 93 | * @return PipelineBuilderInterface |
94 | 94 | * @throws \yii\base\InvalidConfigException |
95 | 95 | */ |
@@ -111,9 +111,9 @@ discard block |
||
111 | 111 | /** |
112 | 112 | * @param string $id |
113 | 113 | * @param array $payload |
114 | - * @param ConnectionInterface|string|null $connection |
|
115 | - * @param CacheInterface|string|null $cache |
|
116 | - * @param TransformerCollectionInterface|array|null $transformer |
|
114 | + * @param null|ConnectionInterface $connection |
|
115 | + * @param null|CacheInterface $cache |
|
116 | + * @param null|TransformerCollectionInterface $transformer |
|
117 | 117 | * @return PipelineBuilderInterface |
118 | 118 | * @throws \yii\base\InvalidConfigException |
119 | 119 | */ |
@@ -145,8 +145,8 @@ discard block |
||
145 | 145 | |
146 | 146 | /** |
147 | 147 | * @param ObjectBuilderInterface $builder |
148 | - * @param ConnectionInterface|string|null $connection |
|
149 | - * @param CacheInterface|string|null $cache |
|
148 | + * @param null|ConnectionInterface $connection |
|
149 | + * @param null|CacheInterface $cache |
|
150 | 150 | * @return callable |
151 | 151 | * @throws \yii\base\InvalidConfigException |
152 | 152 | */ |
@@ -166,8 +166,8 @@ discard block |
||
166 | 166 | /** |
167 | 167 | * @param string $id |
168 | 168 | * @param array $payload |
169 | - * @param ConnectionInterface|string|null $connection |
|
170 | - * @param CacheInterface|string|null $cache |
|
169 | + * @param null|ConnectionInterface $connection |
|
170 | + * @param null|CacheInterface $cache |
|
171 | 171 | * @return callable |
172 | 172 | * @throws \yii\base\InvalidConfigException |
173 | 173 | */ |
@@ -193,8 +193,8 @@ discard block |
||
193 | 193 | |
194 | 194 | /** |
195 | 195 | * @param ObjectBuilderInterface $builder |
196 | - * @param ConnectionInterface|string|null $connection |
|
197 | - * @param CacheInterface|string|null $cache |
|
196 | + * @param null|ConnectionInterface $connection |
|
197 | + * @param null|CacheInterface $cache |
|
198 | 198 | * @return ResponseInterface |
199 | 199 | * @throws \yii\base\InvalidConfigException |
200 | 200 | */ |
@@ -214,8 +214,8 @@ discard block |
||
214 | 214 | /** |
215 | 215 | * @param string $id |
216 | 216 | * @param array $payload |
217 | - * @param ConnectionInterface|string|null $connection |
|
218 | - * @param CacheInterface|string|null $cache |
|
217 | + * @param null|ConnectionInterface $connection |
|
218 | + * @param null|CacheInterface $cache |
|
219 | 219 | * @return ResponseInterface |
220 | 220 | * @throws \yii\base\InvalidConfigException |
221 | 221 | */ |
@@ -110,8 +110,8 @@ discard block |
||
110 | 110 | * @param string $id |
111 | 111 | * @param string $typeId |
112 | 112 | * @param IntegrationConnectionInterface|null $connection |
113 | - * @param CacheInterface|string|null $cache |
|
114 | - * @param TransformerCollectionInterface|array|null $transformer |
|
113 | + * @param null|CacheInterface $cache |
|
114 | + * @param null|TransformerCollectionInterface $transformer |
|
115 | 115 | * @param null $source |
116 | 116 | * @return mixed |
117 | 117 | * @throws \yii\base\InvalidConfigException |
@@ -154,8 +154,8 @@ discard block |
||
154 | 154 | * @param string $id |
155 | 155 | * @param string $typeId |
156 | 156 | * @param IntegrationConnectionInterface|null $connection |
157 | - * @param CacheInterface|string|null $cache |
|
158 | - * @param TransformerCollectionInterface|array|null $transformer |
|
157 | + * @param null|CacheInterface $cache |
|
158 | + * @param null|TransformerCollectionInterface $transformer |
|
159 | 159 | * @return PipelineBuilderInterface |
160 | 160 | * @throws \yii\base\InvalidConfigException |
161 | 161 | */ |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | * @param string $id |
206 | 206 | * @param string $typeId |
207 | 207 | * @param IntegrationConnectionInterface|null $connection |
208 | - * @param CacheInterface|string|null $cache |
|
208 | + * @param null|CacheInterface $cache |
|
209 | 209 | * @return ResponseInterface |
210 | 210 | * @throws \yii\base\InvalidConfigException |
211 | 211 | */ |
@@ -225,7 +225,7 @@ discard block |
||
225 | 225 | |
226 | 226 | /** |
227 | 227 | * @param TimelineEventCriteriaInterface $criteria |
228 | - * @return callable |
|
228 | + * @return \Flipbox\Relay\Runner\Runner |
|
229 | 229 | * @throws \yii\base\InvalidConfigException |
230 | 230 | */ |
231 | 231 | public function httpReadRelay( |
@@ -243,8 +243,8 @@ discard block |
||
243 | 243 | * @param string $id |
244 | 244 | * @param string $typeId |
245 | 245 | * @param IntegrationConnectionInterface|null $connection |
246 | - * @param CacheInterface|string|null $cache |
|
247 | - * @return callable |
|
246 | + * @param null|CacheInterface $cache |
|
247 | + * @return \Flipbox\Relay\Runner\Runner |
|
248 | 248 | * @throws \yii\base\InvalidConfigException |
249 | 249 | */ |
250 | 250 | public function rawHttpReadRelay( |
@@ -274,7 +274,7 @@ discard block |
||
274 | 274 | * @param TimelineEventBuilderInterface $builder |
275 | 275 | * @param IntegrationConnectionInterface $connection |
276 | 276 | * @param CacheInterface $cache |
277 | - * @param TransformerCollectionInterface|array|null $transformer |
|
277 | + * @param null|TransformerCollectionInterface $transformer |
|
278 | 278 | * @param mixed|null $source |
279 | 279 | * @return mixed |
280 | 280 | * @throws \yii\base\InvalidConfigException |
@@ -302,8 +302,8 @@ discard block |
||
302 | 302 | * @param string $id |
303 | 303 | * @param array $payload |
304 | 304 | * @param IntegrationConnectionInterface|null $connection |
305 | - * @param CacheInterface|string|null $cache |
|
306 | - * @param TransformerCollectionInterface|array|null $transformer |
|
305 | + * @param null|CacheInterface $cache |
|
306 | + * @param null|TransformerCollectionInterface $transformer |
|
307 | 307 | * @param null $source |
308 | 308 | * @return mixed |
309 | 309 | * @throws \yii\base\InvalidConfigException |
@@ -330,8 +330,8 @@ discard block |
||
330 | 330 | /** |
331 | 331 | * @param TimelineEventBuilderInterface $builder |
332 | 332 | * @param IntegrationConnectionInterface|null $connection |
333 | - * @param CacheInterface|string|null $cache |
|
334 | - * @param TransformerCollectionInterface|array|null $transformer |
|
333 | + * @param null|CacheInterface $cache |
|
334 | + * @param null|TransformerCollectionInterface $transformer |
|
335 | 335 | * @return PipelineBuilderInterface |
336 | 336 | * @throws \yii\base\InvalidConfigException |
337 | 337 | */ |
@@ -356,8 +356,8 @@ discard block |
||
356 | 356 | * @param string $id |
357 | 357 | * @param array $payload |
358 | 358 | * @param IntegrationConnectionInterface|null $connection |
359 | - * @param CacheInterface|string|null $cache |
|
360 | - * @param TransformerCollectionInterface|array|null $transformer |
|
359 | + * @param null|CacheInterface $cache |
|
360 | + * @param null|TransformerCollectionInterface $transformer |
|
361 | 361 | * @return PipelineBuilderInterface |
362 | 362 | * @throws \yii\base\InvalidConfigException |
363 | 363 | */ |
@@ -392,7 +392,7 @@ discard block |
||
392 | 392 | /** |
393 | 393 | * @param TimelineEventBuilderInterface $builder |
394 | 394 | * @param IntegrationConnectionInterface|null $connection |
395 | - * @param CacheInterface|string|null $cache |
|
395 | + * @param null|CacheInterface $cache |
|
396 | 396 | * @return ResponseInterface |
397 | 397 | * @throws \yii\base\InvalidConfigException |
398 | 398 | */ |
@@ -415,7 +415,7 @@ discard block |
||
415 | 415 | * @param string $id |
416 | 416 | * @param array $payload |
417 | 417 | * @param IntegrationConnectionInterface|null $connection |
418 | - * @param CacheInterface|string|null $cache |
|
418 | + * @param null|CacheInterface $cache |
|
419 | 419 | * @return ResponseInterface |
420 | 420 | * @throws \yii\base\InvalidConfigException |
421 | 421 | */ |
@@ -438,8 +438,8 @@ discard block |
||
438 | 438 | /** |
439 | 439 | * @param TimelineEventBuilderInterface $builder |
440 | 440 | * @param IntegrationConnectionInterface|null $connection |
441 | - * @param CacheInterface|string|null $cache |
|
442 | - * @return callable |
|
441 | + * @param null|CacheInterface $cache |
|
442 | + * @return \Flipbox\Relay\Runner\Runner |
|
443 | 443 | * @throws \yii\base\InvalidConfigException |
444 | 444 | */ |
445 | 445 | public function httpUpsertRelay( |
@@ -461,8 +461,8 @@ discard block |
||
461 | 461 | * @param string $id |
462 | 462 | * @param array $payload |
463 | 463 | * @param IntegrationConnectionInterface|null $connection |
464 | - * @param CacheInterface|string|null $cache |
|
465 | - * @return callable |
|
464 | + * @param null|CacheInterface $cache |
|
465 | + * @return \Flipbox\Relay\Runner\Runner |
|
466 | 466 | * @throws \yii\base\InvalidConfigException |
467 | 467 | */ |
468 | 468 | public function rawHttpUpsertRelay( |
@@ -9,21 +9,21 @@ |
||
9 | 9 | namespace flipbox\hubspot\services\resources; |
10 | 10 | |
11 | 11 | use Craft; |
12 | +use Flipbox\Relay\HubSpot\Builder\Resources\Timeline\Event\Read; |
|
13 | +use Flipbox\Relay\HubSpot\Builder\Resources\Timeline\Event\Upsert; |
|
14 | +use League\Pipeline\PipelineBuilderInterface; |
|
15 | +use Psr\Http\Message\ResponseInterface; |
|
16 | +use Psr\SimpleCache\CacheInterface; |
|
17 | +use flipbox\hubspot\HubSpot; |
|
12 | 18 | use flipbox\hubspot\builders\TimelineEventBuilderInterface; |
13 | 19 | use flipbox\hubspot\connections\IntegrationConnectionInterface; |
14 | 20 | use flipbox\hubspot\criteria\TimelineEventCriteriaInterface; |
15 | 21 | use flipbox\hubspot\helpers\CacheHelper; |
16 | 22 | use flipbox\hubspot\helpers\ConnectionHelper; |
17 | 23 | use flipbox\hubspot\helpers\TransformerHelper; |
18 | -use flipbox\hubspot\HubSpot; |
|
19 | 24 | use flipbox\hubspot\pipeline\Resource; |
20 | 25 | use flipbox\hubspot\queue\jobs\UpsertTimelineEvent; |
21 | 26 | use flipbox\hubspot\transformers\collections\TransformerCollectionInterface; |
22 | -use Flipbox\Relay\HubSpot\Builder\Resources\Timeline\Event\Read; |
|
23 | -use Flipbox\Relay\HubSpot\Builder\Resources\Timeline\Event\Upsert; |
|
24 | -use League\Pipeline\PipelineBuilderInterface; |
|
25 | -use Psr\Http\Message\ResponseInterface; |
|
26 | -use Psr\SimpleCache\CacheInterface; |
|
27 | 27 | use yii\base\Component; |
28 | 28 | |
29 | 29 | /** |
@@ -91,9 +91,9 @@ discard block |
||
91 | 91 | |
92 | 92 | /** |
93 | 93 | * @param CompanyContactsBuilderInterface $builder |
94 | - * @param ConnectionInterface|string|null $connection |
|
95 | - * @param CacheInterface|string|null $cache |
|
96 | - * @param TransformerCollectionInterface|array|null $transformer |
|
94 | + * @param null|ConnectionInterface $connection |
|
95 | + * @param null|CacheInterface $cache |
|
96 | + * @param null|TransformerCollectionInterface $transformer |
|
97 | 97 | * @param null $source |
98 | 98 | * @return mixed |
99 | 99 | * @throws \yii\base\InvalidConfigException |
@@ -118,9 +118,9 @@ discard block |
||
118 | 118 | /** |
119 | 119 | * @param string $companyId |
120 | 120 | * @param string $contactId |
121 | - * @param ConnectionInterface|string|null $connection |
|
122 | - * @param CacheInterface|string|null $cache |
|
123 | - * @param TransformerCollectionInterface|array|null $transformer |
|
121 | + * @param null|ConnectionInterface $connection |
|
122 | + * @param null|CacheInterface $cache |
|
123 | + * @param null|TransformerCollectionInterface $transformer |
|
124 | 124 | * @return PipelineBuilderInterface |
125 | 125 | * @throws \yii\base\InvalidConfigException |
126 | 126 | */ |
@@ -153,9 +153,9 @@ discard block |
||
153 | 153 | /** |
154 | 154 | * @param string $companyId |
155 | 155 | * @param string $contactId |
156 | - * @param ConnectionInterface|string|null $connection |
|
157 | - * @param CacheInterface|string|null $cache |
|
158 | - * @param TransformerCollectionInterface|array|null $transformer |
|
156 | + * @param null|ConnectionInterface $connection |
|
157 | + * @param null|CacheInterface $cache |
|
158 | + * @param null|TransformerCollectionInterface $transformer |
|
159 | 159 | * @param null $source |
160 | 160 | * @return mixed |
161 | 161 | * @throws \yii\base\InvalidConfigException |
@@ -180,9 +180,9 @@ discard block |
||
180 | 180 | |
181 | 181 | /** |
182 | 182 | * @param CompanyContactsBuilderInterface $builder |
183 | - * @param ConnectionInterface|string|null $connection |
|
184 | - * @param CacheInterface|string|null $cache |
|
185 | - * @param TransformerCollectionInterface|array|null $transformer |
|
183 | + * @param null|ConnectionInterface $connection |
|
184 | + * @param null|CacheInterface $cache |
|
185 | + * @param null|TransformerCollectionInterface $transformer |
|
186 | 186 | * @return PipelineBuilderInterface |
187 | 187 | * @throws \yii\base\InvalidConfigException |
188 | 188 | */ |
@@ -203,8 +203,8 @@ discard block |
||
203 | 203 | |
204 | 204 | /** |
205 | 205 | * @param CompanyContactsBuilderInterface $builder |
206 | - * @param ConnectionInterface|string|null $connection |
|
207 | - * @param CacheInterface|string|null $cache |
|
206 | + * @param null|ConnectionInterface $connection |
|
207 | + * @param null|CacheInterface $cache |
|
208 | 208 | * @return callable |
209 | 209 | * @throws \yii\base\InvalidConfigException |
210 | 210 | */ |
@@ -224,8 +224,8 @@ discard block |
||
224 | 224 | /** |
225 | 225 | * @param string $companyId |
226 | 226 | * @param string $contactId |
227 | - * @param ConnectionInterface|string|null $connection |
|
228 | - * @param CacheInterface|string|null $cache |
|
227 | + * @param null|ConnectionInterface $connection |
|
228 | + * @param null|CacheInterface $cache |
|
229 | 229 | * @return callable |
230 | 230 | * @throws \yii\base\InvalidConfigException |
231 | 231 | */ |
@@ -251,8 +251,8 @@ discard block |
||
251 | 251 | |
252 | 252 | /** |
253 | 253 | * @param CompanyContactsBuilderInterface $builder |
254 | - * @param ConnectionInterface|string|null $connection |
|
255 | - * @param CacheInterface|string|null $cache |
|
254 | + * @param null|ConnectionInterface $connection |
|
255 | + * @param null|CacheInterface $cache |
|
256 | 256 | * @return ResponseInterface |
257 | 257 | * @throws \yii\base\InvalidConfigException |
258 | 258 | */ |
@@ -272,8 +272,8 @@ discard block |
||
272 | 272 | /** |
273 | 273 | * @param string $companyId |
274 | 274 | * @param string $contactId |
275 | - * @param ConnectionInterface|string|null $connection |
|
276 | - * @param CacheInterface|string|null $cache |
|
275 | + * @param null|ConnectionInterface $connection |
|
276 | + * @param null|CacheInterface $cache |
|
277 | 277 | * @return ResponseInterface |
278 | 278 | * @throws \yii\base\InvalidConfigException |
279 | 279 | */ |
@@ -298,9 +298,9 @@ discard block |
||
298 | 298 | |
299 | 299 | /** |
300 | 300 | * @param CompanyContactsBuilderInterface $builder |
301 | - * @param ConnectionInterface|string|null $connection |
|
302 | - * @param CacheInterface|string|null $cache |
|
303 | - * @param TransformerCollectionInterface|array|null $transformer |
|
301 | + * @param null|ConnectionInterface $connection |
|
302 | + * @param null|CacheInterface $cache |
|
303 | + * @param null|TransformerCollectionInterface $transformer |
|
304 | 304 | * @param null $source |
305 | 305 | * @return mixed |
306 | 306 | * @throws \yii\base\InvalidConfigException |
@@ -325,9 +325,9 @@ discard block |
||
325 | 325 | /** |
326 | 326 | * @param string $companyId |
327 | 327 | * @param string $contactId |
328 | - * @param ConnectionInterface|string|null $connection |
|
329 | - * @param CacheInterface|string|null $cache |
|
330 | - * @param TransformerCollectionInterface|array|null $transformer |
|
328 | + * @param null|ConnectionInterface $connection |
|
329 | + * @param null|CacheInterface $cache |
|
330 | + * @param null|TransformerCollectionInterface $transformer |
|
331 | 331 | * @param null $source |
332 | 332 | * @return mixed |
333 | 333 | * @throws \yii\base\InvalidConfigException |
@@ -351,9 +351,9 @@ discard block |
||
351 | 351 | |
352 | 352 | /** |
353 | 353 | * @param CompanyContactsBuilderInterface $builder |
354 | - * @param ConnectionInterface|string|null $connection |
|
355 | - * @param CacheInterface|string|null $cache |
|
356 | - * @param TransformerCollectionInterface|array|null $transformer |
|
354 | + * @param null|ConnectionInterface $connection |
|
355 | + * @param null|CacheInterface $cache |
|
356 | + * @param null|TransformerCollectionInterface $transformer |
|
357 | 357 | * @return PipelineBuilderInterface |
358 | 358 | * @throws \yii\base\InvalidConfigException |
359 | 359 | */ |
@@ -375,9 +375,9 @@ discard block |
||
375 | 375 | /** |
376 | 376 | * @param string $companyId |
377 | 377 | * @param string $contactId |
378 | - * @param ConnectionInterface|string|null $connection |
|
379 | - * @param CacheInterface|string|null $cache |
|
380 | - * @param TransformerCollectionInterface|array|null $transformer |
|
378 | + * @param null|ConnectionInterface $connection |
|
379 | + * @param null|CacheInterface $cache |
|
380 | + * @param null|TransformerCollectionInterface $transformer |
|
381 | 381 | * @return PipelineBuilderInterface |
382 | 382 | * @throws \yii\base\InvalidConfigException |
383 | 383 | */ |
@@ -409,8 +409,8 @@ discard block |
||
409 | 409 | |
410 | 410 | /** |
411 | 411 | * @param CompanyContactsBuilderInterface $builder |
412 | - * @param ConnectionInterface|string|null $connection |
|
413 | - * @param CacheInterface|string|null $cache |
|
412 | + * @param null|ConnectionInterface $connection |
|
413 | + * @param null|CacheInterface $cache |
|
414 | 414 | * @return callable |
415 | 415 | * @throws \yii\base\InvalidConfigException |
416 | 416 | */ |
@@ -430,8 +430,8 @@ discard block |
||
430 | 430 | /** |
431 | 431 | * @param string $companyId |
432 | 432 | * @param string $contactId |
433 | - * @param ConnectionInterface|string|null $connection |
|
434 | - * @param CacheInterface|string|null $cache |
|
433 | + * @param null|ConnectionInterface $connection |
|
434 | + * @param null|CacheInterface $cache |
|
435 | 435 | * @return callable |
436 | 436 | * @throws \yii\base\InvalidConfigException |
437 | 437 | */ |
@@ -457,8 +457,8 @@ discard block |
||
457 | 457 | |
458 | 458 | /** |
459 | 459 | * @param CompanyContactsBuilderInterface $builder |
460 | - * @param ConnectionInterface|string|null $connection |
|
461 | - * @param CacheInterface|string|null $cache |
|
460 | + * @param null|ConnectionInterface $connection |
|
461 | + * @param null|CacheInterface $cache |
|
462 | 462 | * @return ResponseInterface |
463 | 463 | * @throws \yii\base\InvalidConfigException |
464 | 464 | */ |
@@ -478,8 +478,8 @@ discard block |
||
478 | 478 | /** |
479 | 479 | * @param string $companyId |
480 | 480 | * @param string $contactId |
481 | - * @param ConnectionInterface|string|null $connection |
|
482 | - * @param CacheInterface|string|null $cache |
|
481 | + * @param null|ConnectionInterface $connection |
|
482 | + * @param null|CacheInterface $cache |
|
483 | 483 | * @return ResponseInterface |
484 | 484 | * @throws \yii\base\InvalidConfigException |
485 | 485 | */ |
@@ -8,6 +8,14 @@ discard block |
||
8 | 8 | |
9 | 9 | namespace flipbox\hubspot\services\resources; |
10 | 10 | |
11 | +use Flipbox\Relay\Builder\RelayBuilderInterface; |
|
12 | +use Flipbox\Relay\HubSpot\Builder\Resources\Company\Contacts\Add; |
|
13 | +use Flipbox\Relay\HubSpot\Builder\Resources\Company\Contacts\All; |
|
14 | +use Flipbox\Relay\HubSpot\Builder\Resources\Company\Contacts\Remove; |
|
15 | +use League\Pipeline\PipelineBuilderInterface; |
|
16 | +use Psr\Http\Message\ResponseInterface; |
|
17 | +use Psr\SimpleCache\CacheInterface; |
|
18 | +use flipbox\hubspot\HubSpot; |
|
11 | 19 | use flipbox\hubspot\builders\CompanyContactsBuilder; |
12 | 20 | use flipbox\hubspot\builders\CompanyContactsBuilderInterface; |
13 | 21 | use flipbox\hubspot\connections\ConnectionInterface; |
@@ -16,17 +24,9 @@ discard block |
||
16 | 24 | use flipbox\hubspot\helpers\CacheHelper; |
17 | 25 | use flipbox\hubspot\helpers\ConnectionHelper; |
18 | 26 | use flipbox\hubspot\helpers\TransformerHelper; |
19 | -use flipbox\hubspot\HubSpot; |
|
20 | 27 | use flipbox\hubspot\pipeline\Resource; |
21 | 28 | use flipbox\hubspot\services\resources\traits\ReadObjectTrait; |
22 | 29 | use flipbox\hubspot\transformers\collections\TransformerCollectionInterface; |
23 | -use Flipbox\Relay\Builder\RelayBuilderInterface; |
|
24 | -use Flipbox\Relay\HubSpot\Builder\Resources\Company\Contacts\Add; |
|
25 | -use Flipbox\Relay\HubSpot\Builder\Resources\Company\Contacts\All; |
|
26 | -use Flipbox\Relay\HubSpot\Builder\Resources\Company\Contacts\Remove; |
|
27 | -use League\Pipeline\PipelineBuilderInterface; |
|
28 | -use Psr\Http\Message\ResponseInterface; |
|
29 | -use Psr\SimpleCache\CacheInterface; |
|
30 | 30 | use yii\base\Component; |
31 | 31 | |
32 | 32 | /** |
@@ -95,9 +95,9 @@ discard block |
||
95 | 95 | |
96 | 96 | /** |
97 | 97 | * @param ObjectBuilderInterface $builder |
98 | - * @param ConnectionInterface|string|null $connection |
|
99 | - * @param CacheInterface|string|null $cache |
|
100 | - * @param TransformerCollectionInterface|array|null $transformer |
|
98 | + * @param null|ConnectionInterface $connection |
|
99 | + * @param null|CacheInterface $cache |
|
100 | + * @param null|TransformerCollectionInterface $transformer |
|
101 | 101 | * @param null $source |
102 | 102 | * @return mixed |
103 | 103 | * @throws \yii\base\InvalidConfigException |
@@ -122,9 +122,9 @@ discard block |
||
122 | 122 | /** |
123 | 123 | * @param string $id |
124 | 124 | * @param array $payload |
125 | - * @param ConnectionInterface|string|null $connection |
|
126 | - * @param CacheInterface|string|null $cache |
|
127 | - * @param TransformerCollectionInterface|array|null $transformer |
|
125 | + * @param null|ConnectionInterface $connection |
|
126 | + * @param null|CacheInterface $cache |
|
127 | + * @param null|TransformerCollectionInterface $transformer |
|
128 | 128 | * @param null $source |
129 | 129 | * @return mixed |
130 | 130 | * @throws \yii\base\InvalidConfigException |
@@ -148,9 +148,9 @@ discard block |
||
148 | 148 | |
149 | 149 | /** |
150 | 150 | * @param ObjectBuilderInterface $builder |
151 | - * @param ConnectionInterface|string|null $connection |
|
152 | - * @param CacheInterface|string|null $cache |
|
153 | - * @param TransformerCollectionInterface|array|null $transformer |
|
151 | + * @param null|ConnectionInterface $connection |
|
152 | + * @param null|CacheInterface $cache |
|
153 | + * @param null|TransformerCollectionInterface $transformer |
|
154 | 154 | * @return PipelineBuilderInterface |
155 | 155 | * @throws \yii\base\InvalidConfigException |
156 | 156 | */ |
@@ -172,9 +172,9 @@ discard block |
||
172 | 172 | /** |
173 | 173 | * @param string $id |
174 | 174 | * @param array $payload |
175 | - * @param ConnectionInterface|string|null $connection |
|
176 | - * @param CacheInterface|string|null $cache |
|
177 | - * @param TransformerCollectionInterface|array|null $transformer |
|
175 | + * @param null|ConnectionInterface $connection |
|
176 | + * @param null|CacheInterface $cache |
|
177 | + * @param null|TransformerCollectionInterface $transformer |
|
178 | 178 | * @return PipelineBuilderInterface |
179 | 179 | * @throws \yii\base\InvalidConfigException |
180 | 180 | */ |
@@ -206,8 +206,8 @@ discard block |
||
206 | 206 | |
207 | 207 | /** |
208 | 208 | * @param ObjectBuilderInterface $builder |
209 | - * @param ConnectionInterface|string|null $connection |
|
210 | - * @param CacheInterface|string|null $cache |
|
209 | + * @param null|ConnectionInterface $connection |
|
210 | + * @param null|CacheInterface $cache |
|
211 | 211 | * @return callable |
212 | 212 | * @throws \yii\base\InvalidConfigException |
213 | 213 | */ |
@@ -227,8 +227,8 @@ discard block |
||
227 | 227 | /** |
228 | 228 | * @param string $id |
229 | 229 | * @param array $payload |
230 | - * @param ConnectionInterface|string|null $connection |
|
231 | - * @param CacheInterface|string|null $cache |
|
230 | + * @param null|ConnectionInterface $connection |
|
231 | + * @param null|CacheInterface $cache |
|
232 | 232 | * @return callable |
233 | 233 | * @throws \yii\base\InvalidConfigException |
234 | 234 | */ |
@@ -254,8 +254,8 @@ discard block |
||
254 | 254 | |
255 | 255 | /** |
256 | 256 | * @param ObjectBuilderInterface $builder |
257 | - * @param ConnectionInterface|string|null $connection |
|
258 | - * @param CacheInterface|string|null $cache |
|
257 | + * @param null|ConnectionInterface $connection |
|
258 | + * @param null|CacheInterface $cache |
|
259 | 259 | * @return ResponseInterface |
260 | 260 | * @throws \yii\base\InvalidConfigException |
261 | 261 | */ |
@@ -275,8 +275,8 @@ discard block |
||
275 | 275 | /** |
276 | 276 | * @param string $id |
277 | 277 | * @param array $payload |
278 | - * @param ConnectionInterface|string|null $connection |
|
279 | - * @param CacheInterface|string|null $cache |
|
278 | + * @param null|ConnectionInterface $connection |
|
279 | + * @param null|CacheInterface $cache |
|
280 | 280 | * @return ResponseInterface |
281 | 281 | * @throws \yii\base\InvalidConfigException |
282 | 282 | */ |
@@ -301,9 +301,9 @@ discard block |
||
301 | 301 | |
302 | 302 | /** |
303 | 303 | * @param ObjectBuilderInterface $builder |
304 | - * @param ConnectionInterface|string|null $connection |
|
305 | - * @param CacheInterface|string|null $cache |
|
306 | - * @param TransformerCollectionInterface|array|null $transformer |
|
304 | + * @param null|ConnectionInterface $connection |
|
305 | + * @param null|CacheInterface $cache |
|
306 | + * @param null|TransformerCollectionInterface $transformer |
|
307 | 307 | * @param null $source |
308 | 308 | * @return mixed |
309 | 309 | * @throws \yii\base\InvalidConfigException |
@@ -328,9 +328,9 @@ discard block |
||
328 | 328 | /** |
329 | 329 | * @param string $id |
330 | 330 | * @param array $payload |
331 | - * @param ConnectionInterface|string|null $connection |
|
332 | - * @param CacheInterface|string|null $cache |
|
333 | - * @param TransformerCollectionInterface|array|null $transformer |
|
331 | + * @param null|ConnectionInterface $connection |
|
332 | + * @param null|CacheInterface $cache |
|
333 | + * @param null|TransformerCollectionInterface $transformer |
|
334 | 334 | * @param null $source |
335 | 335 | * @return mixed |
336 | 336 | * @throws \yii\base\InvalidConfigException |
@@ -354,9 +354,9 @@ discard block |
||
354 | 354 | |
355 | 355 | /** |
356 | 356 | * @param ObjectBuilderInterface $builder |
357 | - * @param ConnectionInterface|string|null $connection |
|
358 | - * @param CacheInterface|string|null $cache |
|
359 | - * @param TransformerCollectionInterface|array|null $transformer |
|
357 | + * @param null|ConnectionInterface $connection |
|
358 | + * @param null|CacheInterface $cache |
|
359 | + * @param null|TransformerCollectionInterface $transformer |
|
360 | 360 | * @return PipelineBuilderInterface |
361 | 361 | * @throws \yii\base\InvalidConfigException |
362 | 362 | */ |
@@ -378,9 +378,9 @@ discard block |
||
378 | 378 | /** |
379 | 379 | * @param string $id |
380 | 380 | * @param array $payload |
381 | - * @param ConnectionInterface|string|null $connection |
|
382 | - * @param CacheInterface|string|null $cache |
|
383 | - * @param TransformerCollectionInterface|array|null $transformer |
|
381 | + * @param null|ConnectionInterface $connection |
|
382 | + * @param null|CacheInterface $cache |
|
383 | + * @param null|TransformerCollectionInterface $transformer |
|
384 | 384 | * @return PipelineBuilderInterface |
385 | 385 | * @throws \yii\base\InvalidConfigException |
386 | 386 | */ |
@@ -412,8 +412,8 @@ discard block |
||
412 | 412 | |
413 | 413 | /** |
414 | 414 | * @param ObjectBuilderInterface $builder |
415 | - * @param ConnectionInterface|string|null $connection |
|
416 | - * @param CacheInterface|string|null $cache |
|
415 | + * @param null|ConnectionInterface $connection |
|
416 | + * @param null|CacheInterface $cache |
|
417 | 417 | * @return callable |
418 | 418 | * @throws \yii\base\InvalidConfigException |
419 | 419 | */ |
@@ -433,8 +433,8 @@ discard block |
||
433 | 433 | /** |
434 | 434 | * @param string $id |
435 | 435 | * @param array $payload |
436 | - * @param ConnectionInterface|string|null $connection |
|
437 | - * @param CacheInterface|string|null $cache |
|
436 | + * @param null|ConnectionInterface $connection |
|
437 | + * @param null|CacheInterface $cache |
|
438 | 438 | * @return callable |
439 | 439 | * @throws \yii\base\InvalidConfigException |
440 | 440 | */ |
@@ -460,8 +460,8 @@ discard block |
||
460 | 460 | |
461 | 461 | /** |
462 | 462 | * @param ObjectBuilderInterface $builder |
463 | - * @param ConnectionInterface|string|null $connection |
|
464 | - * @param CacheInterface|string|null $cache |
|
463 | + * @param null|ConnectionInterface $connection |
|
464 | + * @param null|CacheInterface $cache |
|
465 | 465 | * @return ResponseInterface |
466 | 466 | * @throws \yii\base\InvalidConfigException |
467 | 467 | */ |
@@ -481,8 +481,8 @@ discard block |
||
481 | 481 | /** |
482 | 482 | * @param string $id |
483 | 483 | * @param array $payload |
484 | - * @param ConnectionInterface|string|null $connection |
|
485 | - * @param CacheInterface|string|null $cache |
|
484 | + * @param null|ConnectionInterface $connection |
|
485 | + * @param null|CacheInterface $cache |
|
486 | 486 | * @return ResponseInterface |
487 | 487 | * @throws \yii\base\InvalidConfigException |
488 | 488 | */ |
@@ -8,6 +8,14 @@ discard block |
||
8 | 8 | |
9 | 9 | namespace flipbox\hubspot\services\resources; |
10 | 10 | |
11 | +use Flipbox\Relay\Builder\RelayBuilderInterface; |
|
12 | +use Flipbox\Relay\HubSpot\Builder\Resources\ContactList\Contacts\Add; |
|
13 | +use Flipbox\Relay\HubSpot\Builder\Resources\ContactList\Contacts\All; |
|
14 | +use Flipbox\Relay\HubSpot\Builder\Resources\ContactList\Contacts\Remove; |
|
15 | +use League\Pipeline\PipelineBuilderInterface; |
|
16 | +use Psr\Http\Message\ResponseInterface; |
|
17 | +use Psr\SimpleCache\CacheInterface; |
|
18 | +use flipbox\hubspot\HubSpot; |
|
11 | 19 | use flipbox\hubspot\builders\ContactListContactsBuilder; |
12 | 20 | use flipbox\hubspot\builders\ObjectBuilderInterface; |
13 | 21 | use flipbox\hubspot\connections\ConnectionInterface; |
@@ -16,17 +24,9 @@ discard block |
||
16 | 24 | use flipbox\hubspot\helpers\CacheHelper; |
17 | 25 | use flipbox\hubspot\helpers\ConnectionHelper; |
18 | 26 | use flipbox\hubspot\helpers\TransformerHelper; |
19 | -use flipbox\hubspot\HubSpot; |
|
20 | 27 | use flipbox\hubspot\pipeline\Resource; |
21 | 28 | use flipbox\hubspot\services\resources\traits\ReadObjectTrait; |
22 | 29 | use flipbox\hubspot\transformers\collections\TransformerCollectionInterface; |
23 | -use Flipbox\Relay\Builder\RelayBuilderInterface; |
|
24 | -use Flipbox\Relay\HubSpot\Builder\Resources\ContactList\Contacts\Add; |
|
25 | -use Flipbox\Relay\HubSpot\Builder\Resources\ContactList\Contacts\All; |
|
26 | -use Flipbox\Relay\HubSpot\Builder\Resources\ContactList\Contacts\Remove; |
|
27 | -use League\Pipeline\PipelineBuilderInterface; |
|
28 | -use Psr\Http\Message\ResponseInterface; |
|
29 | -use Psr\SimpleCache\CacheInterface; |
|
30 | 30 | use yii\base\Component; |
31 | 31 | |
32 | 32 | /** |
@@ -43,8 +43,8 @@ discard block |
||
43 | 43 | } |
44 | 44 | |
45 | 45 | /** |
46 | - * @param ConnectionInterface|string|null $connection |
|
47 | - * @param CacheInterface|string|null $cache |
|
46 | + * @param null|ConnectionInterface $connection |
|
47 | + * @param null|CacheInterface $cache |
|
48 | 48 | * @return callable |
49 | 49 | * @throws \yii\base\InvalidConfigException |
50 | 50 | */ |
@@ -83,9 +83,9 @@ discard block |
||
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |
86 | - * @param ConnectionInterface|string|null $connection |
|
87 | - * @param CacheInterface|string|null $cache |
|
88 | - * @param TransformerCollectionInterface|array|null $transformer |
|
86 | + * @param null|ConnectionInterface $connection |
|
87 | + * @param null|CacheInterface $cache |
|
88 | + * @param null|TransformerCollectionInterface $transformer |
|
89 | 89 | * @param null $source |
90 | 90 | * @return mixed |
91 | 91 | * @throws \yii\base\InvalidConfigException |
@@ -119,9 +119,9 @@ discard block |
||
119 | 119 | } |
120 | 120 | |
121 | 121 | /** |
122 | - * @param ConnectionInterface|string|null $connection |
|
123 | - * @param CacheInterface|string|null $cache |
|
124 | - * @param TransformerCollectionInterface|array|null $transformer |
|
122 | + * @param null|ConnectionInterface $connection |
|
123 | + * @param null|CacheInterface $cache |
|
124 | + * @param null|TransformerCollectionInterface $transformer |
|
125 | 125 | * @return PipelineBuilderInterface |
126 | 126 | * @throws \yii\base\InvalidConfigException |
127 | 127 | */ |
@@ -162,8 +162,8 @@ discard block |
||
162 | 162 | } |
163 | 163 | |
164 | 164 | /** |
165 | - * @param ConnectionInterface|string|null $connection |
|
166 | - * @param CacheInterface|string|null $cache |
|
165 | + * @param null|ConnectionInterface $connection |
|
166 | + * @param null|CacheInterface $cache |
|
167 | 167 | * @return ResponseInterface |
168 | 168 | * @throws \yii\base\InvalidConfigException |
169 | 169 | */ |
@@ -8,19 +8,19 @@ |
||
8 | 8 | |
9 | 9 | namespace flipbox\hubspot\services\resources; |
10 | 10 | |
11 | +use Flipbox\Relay\Builder\RelayBuilderInterface; |
|
12 | +use Flipbox\Relay\HubSpot\Builder\Resources\Limit\Daily\Read; |
|
13 | +use League\Pipeline\PipelineBuilderInterface; |
|
14 | +use Psr\Http\Message\ResponseInterface; |
|
15 | +use Psr\SimpleCache\CacheInterface; |
|
16 | +use flipbox\hubspot\HubSpot; |
|
11 | 17 | use flipbox\hubspot\connections\ConnectionInterface; |
12 | 18 | use flipbox\hubspot\criteria\IntegrationCriteriaInterface; |
13 | 19 | use flipbox\hubspot\helpers\CacheHelper; |
14 | 20 | use flipbox\hubspot\helpers\ConnectionHelper; |
15 | 21 | use flipbox\hubspot\helpers\TransformerHelper; |
16 | -use flipbox\hubspot\HubSpot; |
|
17 | 22 | use flipbox\hubspot\pipeline\Resource; |
18 | 23 | use flipbox\hubspot\transformers\collections\TransformerCollectionInterface; |
19 | -use Flipbox\Relay\Builder\RelayBuilderInterface; |
|
20 | -use Flipbox\Relay\HubSpot\Builder\Resources\Limit\Daily\Read; |
|
21 | -use League\Pipeline\PipelineBuilderInterface; |
|
22 | -use Psr\Http\Message\ResponseInterface; |
|
23 | -use Psr\SimpleCache\CacheInterface; |
|
24 | 24 | use yii\base\Component; |
25 | 25 | |
26 | 26 | /** |
@@ -14,18 +14,18 @@ |
||
14 | 14 | use craft\elements\db\ElementQueryInterface; |
15 | 15 | use flipbox\ember\helpers\ModelHelper; |
16 | 16 | use flipbox\ember\validators\MinMaxValidator; |
17 | +use flipbox\hubspot\HubSpot; |
|
17 | 18 | use flipbox\hubspot\criteria\CompanyCriteria; |
18 | 19 | use flipbox\hubspot\criteria\ContactCriteria; |
19 | 20 | use flipbox\hubspot\criteria\ContactListCriteria; |
20 | 21 | use flipbox\hubspot\criteria\ObjectCriteria; |
21 | 22 | use flipbox\hubspot\criteria\ObjectCriteriaInterface; |
22 | 23 | use flipbox\hubspot\db\ObjectAssociationQuery; |
23 | -use flipbox\hubspot\HubSpot; |
|
24 | 24 | use flipbox\hubspot\records\ObjectAssociation; |
25 | +use flipbox\hubspot\services\resources\CRUDInterface; |
|
25 | 26 | use flipbox\hubspot\services\resources\Companies; |
26 | 27 | use flipbox\hubspot\services\resources\ContactLists; |
27 | 28 | use flipbox\hubspot\services\resources\Contacts; |
28 | -use flipbox\hubspot\services\resources\CRUDInterface; |
|
29 | 29 | use yii\base\InvalidConfigException; |
30 | 30 | |
31 | 31 | /** |