| Total Complexity | 6 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class LoopCommand extends AbstractCommand |
||
| 11 | { |
||
| 12 | private $endLoopIndex; |
||
| 13 | |||
| 14 | public function __construct(Runtime $runtime) |
||
| 15 | { |
||
| 16 | parent::__construct($runtime); |
||
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @throws Exception |
||
| 21 | */ |
||
| 22 | public function exec(): void |
||
| 29 | } |
||
| 30 | |||
| 31 | public function setEndLoopIndex(int $index): void |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return int |
||
| 38 | * @throws Exception |
||
| 39 | */ |
||
| 40 | private function getEndLoopIndex(): int |
||
| 48 |