|
@@ 601-612 (lines=12) @@
|
| 598 |
|
} |
| 599 |
|
|
| 600 |
|
$param = $this->recurse($param, $nodeIdx + 1); |
| 601 |
|
if ($this->continue) { |
| 602 |
|
if ($this->continue = $this->interruptNode($node)) { |
| 603 |
|
// since we want to bubble the continue upstream |
| 604 |
|
// we break here waiting for next $param if any |
| 605 |
|
$this->flowMap->increment($nodeHash, 'num_break'); |
| 606 |
|
break; |
| 607 |
|
} |
| 608 |
|
|
| 609 |
|
// we drop one iteration |
| 610 |
|
$this->flowMap->increment($nodeHash, 'num_continue'); |
| 611 |
|
continue; |
| 612 |
|
} |
| 613 |
|
|
| 614 |
|
if ($this->break) { |
| 615 |
|
// we drop all subsequent iterations |
|
@@ 631-639 (lines=9) @@
|
| 628 |
|
$value = $node->exec($param); |
| 629 |
|
$this->flowMap->increment($nodeHash, 'num_exec'); |
| 630 |
|
|
| 631 |
|
if ($this->continue) { |
| 632 |
|
$this->flowMap->increment($nodeHash, 'num_continue'); |
| 633 |
|
// a continue does not need to bubble up unless |
| 634 |
|
// it specifically targets a node in this flow |
| 635 |
|
// or targets an upstream flow |
| 636 |
|
$this->continue = $this->interruptNode($node); |
| 637 |
|
|
| 638 |
|
return $param; |
| 639 |
|
} |
| 640 |
|
|
| 641 |
|
if ($this->break) { |
| 642 |
|
$this->flowMap->increment($nodeHash, 'num_break'); |