| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Coverage | 60% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 12 | final class TransitionWasSuccessful extends Event implements StateEvent |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | private $transition; |
||
| 18 | |||
| 19 | 19 | public function __construct(string $transition) |
|
| 20 | { |
||
| 21 | 19 | $this->transition = $transition; |
|
| 22 | 19 | } |
|
| 23 | |||
| 24 | public function transition(): string |
||
| 27 | } |
||
| 28 | } |
||
| 29 |