yvoyer /
php-state
| 1 | <?php declare(strict_types=1); |
||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 2 | |||
| 3 | namespace Star\Component\State; |
||
| 4 | |||
| 5 | interface StateRegistry extends RegistryBuilder |
||
|
0 ignored issues
–
show
|
|||
| 6 | { |
||
|
0 ignored issues
–
show
|
|||
| 7 | /** |
||
|
0 ignored issues
–
show
|
|||
| 8 | * @param string $name The transition name |
||
|
0 ignored issues
–
show
|
|||
| 9 | * |
||
| 10 | * @return StateTransition |
||
| 11 | * @throws NotFoundException |
||
|
0 ignored issues
–
show
|
|||
| 12 | */ |
||
| 13 | public function getTransition(string $name): StateTransition; |
||
|
0 ignored issues
–
show
|
|||
| 14 | |||
| 15 | public function addAttribute(string $state, string $attribute): void; |
||
|
0 ignored issues
–
show
|
|||
| 16 | |||
| 17 | public function hasAttribute(string $state, string $attribute): bool; |
||
|
0 ignored issues
–
show
|
|||
| 18 | |||
| 19 | public function hasState(string $name): bool; |
||
|
0 ignored issues
–
show
|
|||
| 20 | |||
| 21 | public function transitionStartsFrom(string $transition, string $state): bool; |
||
|
0 ignored issues
–
show
|
|||
| 22 | |||
| 23 | public function acceptTransitionVisitor(TransitionVisitor $visitor): void; |
||
|
0 ignored issues
–
show
|
|||
| 24 | |||
| 25 | public function acceptStateVisitor(StateVisitor $visitor): void; |
||
|
0 ignored issues
–
show
|
|||
| 26 | } |
||
|
0 ignored issues
–
show
|
|||
| 27 |