ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
NullBaseNavigator.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25
27{
28 public function nextStep(): ?BaseNavigatorInterface
29 {
30 return new NullBaseNavigator();
31 }
32
33 public function currentStep(): ?StepInterface
34 {
35 return new NullStep();
36 }
37
39 {
40 return new NullBaseNavigator();
41 }
42
43 public function hasNextStep(): bool
44 {
45 return false;
46 }
47
48 public function hasPreviousStep(): bool
49 {
50 return false;
51 }
52
53 public function hasElements(): bool
54 {
55 return false;
56 }
57}
nextStep()
Returns null if there is no next step.
hasElements()
Should return true if the navigator contains at least one element at the current step.