ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
NullVocabulary.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
25 
27 {
28  public function slot(): SlotIdentifier
29  {
30  return SlotIdentifier::NULL;
31  }
32 
33  public function type(): Type
34  {
35  return Type::NULL;
36  }
37 
38  public function id(): string
39  {
40  return '';
41  }
42 
43 
44  public function source(): string
45  {
46  return '';
47  }
48 
52  public function values(): \Generator
53  {
54  yield from [];
55  }
56 
57  public function isActive(): bool
58  {
59  return false;
60  }
61 
62  public function allowsCustomInputs(): bool
63  {
64  return true;
65  }
66 }