ILIAS  trunk Revision v11.0_alpha-1811-gd2d5443e411
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
NullBaseNavigator.php
Go to the documentation of this file.
1 <?php
2 
19 declare(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 }
hasElements()
Should return true if the navigator contains at least one element at the current step.
nextStep()
Returns null if there is no next step.