|
@@ 217-227 (lines=11) @@
|
| 214 |
|
/** |
| 215 |
|
* @return \ShopwarePlugins\Connect\Components\CategoryResolver\AutoCategoryResolver |
| 216 |
|
*/ |
| 217 |
|
public function onAutoCategoryResolver() |
| 218 |
|
{ |
| 219 |
|
return new AutoCategoryResolver( |
| 220 |
|
$this->manager, |
| 221 |
|
$this->manager->getRepository(CategoryModel::class), |
| 222 |
|
$this->manager->getRepository(RemoteCategory::class), |
| 223 |
|
$this->config, |
| 224 |
|
$this->container->get('CategoryDenormalization'), |
| 225 |
|
$this->manager->getRepository(ProductToRemoteCategory::class) |
| 226 |
|
); |
| 227 |
|
} |
| 228 |
|
|
| 229 |
|
/** |
| 230 |
|
* @return ExportAssignmentService |
|
@@ 253-262 (lines=10) @@
|
| 250 |
|
/** |
| 251 |
|
* @return \ShopwarePlugins\Connect\Components\CategoryResolver\DefaultCategoryResolver |
| 252 |
|
*/ |
| 253 |
|
public function onDefaultCategoryResolver() |
| 254 |
|
{ |
| 255 |
|
return new DefaultCategoryResolver( |
| 256 |
|
$this->manager, |
| 257 |
|
$this->manager->getRepository(RemoteCategory::class), |
| 258 |
|
$this->manager->getRepository(ProductToRemoteCategory::class), |
| 259 |
|
$this->manager->getRepository(CategoryModel::class), |
| 260 |
|
$this->container->get('CategoryDenormalization') |
| 261 |
|
); |
| 262 |
|
} |
| 263 |
|
|
| 264 |
|
/** |
| 265 |
|
* @return RemoteShopService |