| 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 SubstepDefinition  | 
            ||
| 34 | */  | 
            ||
| 35 | public function getFirstSubstepDefinition()  | 
            ||
| 39 | |||
| 40 | /**  | 
            ||
| 41 | * @return Substep[]  | 
            ||
| 42 | */  | 
            ||
| 43 | public function getEntries()  | 
            ||
| 47 | |||
| 48 | /**  | 
            ||
| 49 | * @param string $name  | 
            ||
| 50 | * @return Substep  | 
            ||
| 51 | * @throws EntryNotFoundException  | 
            ||
| 52 | */  | 
            ||
| 53 | public function getEntry($name)  | 
            ||
| 61 | |||
| 62 | /**  | 
            ||
| 63 | * @param string $name  | 
            ||
| 64 | * @return bool  | 
            ||
| 65 | */  | 
            ||
| 66 | public function hasEntry($name)  | 
            ||
| 70 | }  | 
            ||
| 71 |