| Total Complexity | 2 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class ArvatoRssDependencyProvider extends AbstractBundleDependencyProvider |
||
| 17 | { |
||
| 18 | public const FACADE_MONEY = 'FACADE_MONEY'; |
||
| 19 | public const FACADE_STORE = 'FACADE_STORE'; |
||
| 20 | public const FACADE_SALES = 'FACADE_SALES'; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param \Spryker\Zed\Kernel\Container $container |
||
| 24 | * |
||
| 25 | * @return \Spryker\Zed\Kernel\Container |
||
| 26 | */ |
||
| 27 | public function provideBusinessLayerDependencies(Container $container) |
||
| 28 | { |
||
| 29 | $container[static::FACADE_MONEY] = function (Container $container) { |
||
| 30 | return new ArvatoRssToMoneyBridge($container->getLocator()->money()->facade()); |
||
| 31 | }; |
||
| 32 | |||
| 33 | $container[static::FACADE_STORE] = function (Container $container) { |
||
| 34 | return new ArvatoRssToStoreBridge($container->getLocator()->store()->facade()); |
||
| 35 | }; |
||
| 36 | |||
| 37 | return $container; |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param \Spryker\Zed\Kernel\Container $container |
||
| 42 | * |
||
| 43 | * @return \Spryker\Zed\Kernel\Container |
||
| 44 | */ |
||
| 45 | public function provideCommunicationLayerDependencies(Container $container) |
||
| 54 | } |
||
| 55 | } |
||
| 56 |