| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class StockConfig extends SprykerStockConfig |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @return array<string, list<string>> |
||
|
|
|||
| 19 | */ |
||
| 20 | public function getStoreToWarehouseMapping(): array |
||
| 21 | { |
||
| 22 | return [ |
||
| 23 | 'DE' => [ |
||
| 24 | 'Warehouse1', |
||
| 25 | 'Warehouse2', |
||
| 26 | ], |
||
| 27 | 'AT' => [ |
||
| 28 | 'Warehouse2', |
||
| 29 | ], |
||
| 30 | 'US' => [ |
||
| 31 | 'Warehouse2', |
||
| 32 | ], |
||
| 33 | ]; |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return bool |
||
| 38 | */ |
||
| 39 | public function isConditionalStockUpdateApplied(): bool |
||
| 40 | { |
||
| 41 | return true; |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return string|null |
||
| 46 | */ |
||
| 47 | public function getEventQueueName(): ?string |
||
| 50 | } |
||
| 51 | } |
||
| 52 |