stateMachineStateNotFound example

'order',
                $orderId,
                $transition,
                $stateFieldName
            ),
            $context
        );

        $toPlace = $stateMachineStates->get('toPlace');

        if (!$toPlace) {
            throw StateMachineException::stateMachineStateNotFound('order_transaction', $transition);
        }

        return $toPlace;
    }

    /** * @internal Should not be called from outside the core */
    public function orderTransactionStateTransition(
        string $orderTransactionId,
        string $transition,
        
Home | Imprint | This part of the site doesn't use cookies.