ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
NullData.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25
26class NullData implements DataInterface
27{
28 public function type(): Type
29 {
30 return Type::NULL;
31 }
32
33 public function value(): string
34 {
35 return '';
36 }
37
38 public function vocabularySlot(): SlotIdentifier
39 {
41 }
42}
vocabularySlot()
Vocabulary slot the data belongs to (important for making vocab values/strings presentable).
Definition: NullData.php:38
value()
Value of the data, in a format according to its type.
Definition: NullData.php:33