ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
NullDataFactory.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Elements\Data
;
22
23
use
ILIAS\MetaData\Vocabularies\Slots\Identifier
as
SlotIdentifier
;
24
25
class
NullDataFactory
implements
DataFactoryInterface
26
{
27
public
function
data
(
28
Type
$type,
29
string
$value,
30
SlotIdentifier
$vocabulary_slot =
SlotIdentifier::NULL
31
):
DataInterface
{
32
return
new
NullData
();
33
}
34
35
public
function
null
():
DataInterface
36
{
37
return
new
NullData
();
38
}
39
}
ILIAS\MetaData\Elements\Data\NullDataFactory
Definition:
NullDataFactory.php:25
ILIAS\Data\Description\NULL
Definition:
ValueType.php:30
ILIAS\MetaData\Elements\Data
Definition:
Data.php:21
ILIAS\MetaData\Elements\Data\NullData
Definition:
NullData.php:26
ILIAS\MetaData\Elements\Data\DataInterface
Definition:
DataInterface.php:25
ILIAS\MetaData\Elements\Data\NullDataFactory\null
null()
Definition:
NullDataFactory.php:35
ILIAS\MetaData\Elements\Data\Type
Type
Definition:
Type.php:23
Identifier
ILIAS\MetaData\Elements\Data\NullDataFactory\data
data(Type $type, string $value, SlotIdentifier $vocabulary_slot=SlotIdentifier::NULL)
Definition:
NullDataFactory.php:27
ILIAS\MetaData\Elements\Data\DataFactoryInterface
Definition:
DataFactoryInterface.php:25
components
ILIAS
MetaData
classes
Elements
Data
NullDataFactory.php
Generated on Wed Sep 3 2025 23:03:28 for ILIAS by
1.8.13 (using
Doxyfile
)