1 | <?php |
||
9 | class TransitionNotFound extends CouldNotPerformTransition implements ProvidesSolution |
||
10 | { |
||
11 | /** @var string */ |
||
12 | protected $from; |
||
13 | |||
14 | /** @var string */ |
||
15 | protected $to; |
||
16 | |||
17 | /** @var string */ |
||
18 | protected $modelClass; |
||
19 | |||
20 | public static function make(string $from, string $to, string $modelClass): self |
||
27 | |||
28 | public function setFrom(string $from): self |
||
34 | |||
35 | public function getFrom(string $from): string |
||
39 | |||
40 | public function setTo(string $to): self |
||
46 | |||
47 | public function getTo(string $to): string |
||
51 | |||
52 | public function setModelClass(string $modelClass): self |
||
58 | |||
59 | public function getModelClass(string $modelClass): string |
||
63 | |||
64 | public function getSolution(): Solution |
||
72 | } |
||
73 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.