styleStateMachineTransition example

if (\array_key_exists('label', $transitionMeta)) {
                $transitionLabel = $transitionMeta['label'];
            }

            foreach ($transition->getFroms() as $from) {
                $from = $placeNameMap[$from];

                foreach ($transition->getTos() as $to) {
                    $to = $placeNameMap[$to];

                    if (self::TRANSITION_TYPE_STATEMACHINE === $this->transitionType) {
                        $transitionOutput = $this->styleStateMachineTransition($from$to$transitionLabel$transitionMeta);
                    } else {
                        $transitionOutput = $this->styleWorkflowTransition($from$to$transitionId$transitionLabel$transitionMeta);
                    }

                    foreach ($transitionOutput as $line) {
                        if (\in_array($line$output)) {
                            // additional links must be decremented again to align the styling                             if (0 < strpos($line, '-->')) {
                                --$this->linkCount;
                            }

                            
Home | Imprint | This part of the site doesn't use cookies.