ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
NullFactory.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
27 
28 class NullFactory implements FactoryInterface
29 {
30  public function standard(SlotIdentifier $slot, string ...$values): BuilderInterface
31  {
32  return new NullBuilder();
33  }
34 
35  public function controlledString(
36  SlotIdentifier $slot,
37  string $id,
38  string $source,
39  string ...$values
40  ): BuilderInterface {
41  return new NullBuilder();
42  }
43 
44  public function controlledVocabValue(
45  SlotIdentifier $slot,
46  string $id,
47  string $source,
48  string ...$values
49  ): BuilderInterface {
50  return new NullBuilder();
51  }
52 
53  public function copyright(string ...$values): BuilderInterface
54  {
55  return new NullBuilder();
56  }
57 
58  public function null(): VocabularyInterface
59  {
60  return new NullVocabulary();
61  }
62 }
controlledVocabValue(SlotIdentifier $slot, string $id, string $source, string ... $values)
Definition: NullFactory.php:44
standard(SlotIdentifier $slot, string ... $values)
Definition: NullFactory.php:30
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
controlledString(SlotIdentifier $slot, string $id, string $source, string ... $values)
Definition: NullFactory.php:35