ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
NullFactory.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Vocabularies\Factory
;
22
23
use
ILIAS\MetaData\Vocabularies\Slots\Identifier
as
SlotIdentifier
;
24
use
ILIAS\MetaData\Vocabularies\Factory\NullBuilder
;
25
use
ILIAS\MetaData\Vocabularies\NullVocabulary
;
26
use
ILIAS\MetaData\Vocabularies\VocabularyInterface
;
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
}
ILIAS\MetaData\Vocabularies\Factory\NullFactory
Definition:
NullFactory.php:28
ILIAS\MetaData\Vocabularies\Factory\NullBuilder
Definition:
NullBuilder.php:27
ILIAS\MetaData\Vocabularies\Factory\NullFactory\null
null()
Definition:
NullFactory.php:58
ILIAS\MetaData\Vocabularies\Factory\NullFactory\controlledVocabValue
controlledVocabValue(SlotIdentifier $slot, string $id, string $source, string ... $values)
Definition:
NullFactory.php:44
ILIAS\MetaData\Vocabularies\Factory\FactoryInterface
Definition:
FactoryInterface.php:26
NullBuilder
ILIAS\MetaData\Vocabularies\NullVocabulary
Definition:
NullVocabulary.php:26
ILIAS\MetaData\Vocabularies\Factory
Definition:
Builder.php:21
NullVocabulary
ILIAS\MetaData\Vocabularies\VocabularyInterface
Definition:
VocabularyInterface.php:25
Identifier
ILIAS\MetaData\Vocabularies\Factory\NullFactory\standard
standard(SlotIdentifier $slot, string ... $values)
Definition:
NullFactory.php:30
$id
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition:
plugin.php:23
VocabularyInterface
ILIAS\MetaData\Vocabularies\Factory\BuilderInterface
Definition:
BuilderInterface.php:26
ILIAS\MetaData\Vocabularies\Factory\NullFactory\copyright
copyright(string ... $values)
Definition:
NullFactory.php:53
ILIAS\MetaData\Vocabularies\Factory\NullFactory\controlledString
controlledString(SlotIdentifier $slot, string $id, string $source, string ... $values)
Definition:
NullFactory.php:35
components
ILIAS
MetaData
classes
Vocabularies
Factory
NullFactory.php
Generated on Wed Sep 3 2025 23:03:27 for ILIAS by
1.8.13 (using
Doxyfile
)