| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 39 | 18 | public function onRegister(RegistryBuilder $registry): void |
|
| 40 | { |
||
| 41 | 18 | foreach ($this->fromStates as $from) { |
|
| 42 | 18 | $registry->registerStartingState($this->name, $from, []); |
|
| 43 | } |
||
| 44 | |||
| 45 | 18 | $registry->registerDestinationState($this->name, $this->to, []); |
|
| 46 | 18 | } |
|
| 53 |