for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the Spryker Commerce OS.
* For full license information, please view the LICENSE file that was distributed with this source code.
*/
declare(strict_types = 1);
namespace Pyz\Zed\Stock;
use Spryker\Shared\Publisher\PublisherConfig;
use Spryker\Zed\Stock\StockConfig as SprykerStockConfig;
class StockConfig extends SprykerStockConfig
{
* @return array<string, list<string>>
array<string, list<string>>
4
public function getStoreToWarehouseMapping(): array
return [
'DE' => [
'Warehouse1',
'Warehouse2',
],
'AT' => [
'US' => [
];
}
* @return bool
public function isConditionalStockUpdateApplied(): bool
return true;
* @return string|null
public function getEventQueueName(): ?string
return PublisherConfig::PUBLISH_QUEUE;