Total Complexity | 4 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 55.56% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
8 | final class ReadOnlyTransition implements StateTransition |
||
9 | { |
||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | private $destination; |
||
14 | |||
15 | 30 | public function __construct(string $destination) |
|
16 | { |
||
17 | 30 | $this->destination = $destination; |
|
18 | 30 | } |
|
19 | |||
20 | public function getName(): string |
||
23 | } |
||
24 | |||
25 | public function onRegister(RegistryBuilder $registry): void |
||
28 | } |
||
29 | |||
30 | 29 | public function getDestinationState(): string |
|
35 |