@@ 222-225 (lines=4) @@ | ||
219 | . PHP_EOL; |
|
220 | ||
221 | // add all states to the graph |
|
222 | foreach ($stateCollection as $state) { |
|
223 | $nodeRenderer = $this->getNodeRendererByStateName($state->getKey()); |
|
224 | $graph .= ' ' . $nodeRenderer->render($state); |
|
225 | } |
|
226 | ||
227 | // add all transitions to the graph |
|
228 | foreach ($stateCollection as $state) { |
|
@@ 228-231 (lines=4) @@ | ||
225 | } |
|
226 | ||
227 | // add all transitions to the graph |
|
228 | foreach ($stateCollection as $state) { |
|
229 | $nodeRenderer = $this->getTransitionRendererByStateName($state->getKey()); |
|
230 | $graph .= ' ' . $nodeRenderer->render($state); |
|
231 | } |
|
232 | ||
233 | $graph .= '}' . PHP_EOL; |
|
234 |