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\MerchantOms;
use Spryker\Zed\MerchantOms\MerchantOmsConfig as SprykerMerchantOmsConfig;
class MerchantOmsConfig extends SprykerMerchantOmsConfig
{
* @var string
protected const MAIN_MERCHANT_OMS_PROCESS_NAME = 'MainMerchantStateMachine';
protected const MAIN_MERCHANT_STATE_MACHINE_INITIAL_STATE = 'created';
* @return array<string>
public function getMerchantProcessInitialStateMap(): array
return array_merge(
parent::getMerchantProcessInitialStateMap(),
[
static::MAIN_MERCHANT_OMS_PROCESS_NAME => static::MAIN_MERCHANT_STATE_MACHINE_INITIAL_STATE,
],
);
}
* @api
*
public function getMerchantOmsProcesses(): array
parent::getMerchantOmsProcesses(),
static::MAIN_MERCHANT_OMS_PROCESS_NAME,