1 | <?php |
||
19 | class SubSteps extends AbstractFormDefinition |
||
20 | { |
||
21 | /** |
||
22 | * @var \Romm\Formz\Form\Definition\Step\Step\SubStep\SubStep[] |
||
23 | */ |
||
24 | protected $entries; |
||
25 | |||
26 | /** |
||
27 | * @var \Romm\Formz\Form\Definition\Step\Step\SubStep\SubStepDefinition |
||
28 | * @validate NotEmpty |
||
29 | */ |
||
30 | protected $firstSubStep; |
||
31 | |||
32 | /** |
||
33 | * @return bool |
||
34 | */ |
||
35 | public function hasSubSteps() |
||
39 | |||
40 | /** |
||
41 | * @return SubStepDefinition |
||
42 | */ |
||
43 | public function getFirstSubStepDefinition() |
||
47 | |||
48 | /** |
||
49 | * @return SubStep[] |
||
50 | */ |
||
51 | public function getEntries() |
||
55 | |||
56 | /** |
||
57 | * @param string $name |
||
58 | * @return SubStep |
||
59 | * @throws EntryNotFoundException |
||
60 | */ |
||
61 | public function getEntry($name) |
||
69 | |||
70 | /** |
||
71 | * @param string $name |
||
72 | * @return bool |
||
73 | */ |
||
74 | public function hasEntry($name) |
||
78 | } |
||
79 |