1 | <?php |
||
21 | class StepDefinition extends AbstractFormzConfiguration |
||
22 | { |
||
23 | use ParentsTrait; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | * @validate NotEmpty |
||
28 | */ |
||
29 | protected $step; |
||
30 | |||
31 | /** |
||
32 | * @var \Romm\Formz\Form\Definition\Step\Step\NextSteps |
||
33 | */ |
||
34 | protected $next; |
||
35 | |||
36 | /** |
||
37 | * @return Step |
||
38 | */ |
||
39 | public function getStep() |
||
48 | |||
49 | /** |
||
50 | * @return bool |
||
51 | */ |
||
52 | public function hasNextSteps() |
||
56 | |||
57 | /** |
||
58 | * @return NextSteps |
||
59 | * @throws EntryNotFoundException |
||
60 | */ |
||
61 | public function getNextSteps() |
||
69 | |||
70 | /** |
||
71 | * @return bool |
||
72 | */ |
||
73 | public function hasPreviousDefinition() |
||
77 | |||
78 | /** |
||
79 | * @return StepDefinition |
||
80 | * @throws EntryNotFoundException |
||
81 | */ |
||
82 | public function getPreviousDefinition() |
||
93 | } |
||
94 |