ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
NullBuilder.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
26 
27 class NullBuilder implements BuilderInterface
28 {
29  public function withCondition(
30  string $value,
32  ): BuilderInterface {
33  return new NullBuilder();
34  }
35 
36  public function withIsDeactivated(bool $deactivated): BuilderInterface
37  {
38  return new NullBuilder();
39  }
40 
41  public function withDisallowsCustomInputs(bool $no_custom_inputs): BuilderInterface
42  {
43  return new NullBuilder();
44  }
45 
46  public function get(): VocabularyInterface
47  {
48  return new NullVocabulary();
49  }
50 }
$path
Definition: ltiservices.php:29
withDisallowsCustomInputs(bool $no_custom_inputs)
Definition: NullBuilder.php:41
withCondition(string $value, PathInterface $path)
Definition: NullBuilder.php:29