ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
NullReader.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Vocabularies\Dispatch
;
22
23
use
ILIAS\MetaData\Vocabularies\VocabularyInterface
;
24
use
ILIAS\MetaData\Vocabularies\Slots\Identifier
as SlotIdentifier;
25
use
ILIAS\MetaData\Vocabularies\NullVocabulary
;
26
27
class
NullReader
implements
ReaderInterface
28
{
29
public
function
vocabulary
(
string
$vocab_id):
VocabularyInterface
30
{
31
return
new
NullVocabulary
();
32
}
33
37
public
function
vocabulariesForSlots
(
38
SlotIdentifier ...$slots
39
): \Generator {
40
yield
from
[];
41
}
42
46
public
function
activeVocabulariesForSlots
(
47
SlotIdentifier ...$slots
48
): \Generator {
49
yield
from
[];
50
}
51
}
ILIAS\MetaData\Vocabularies\Dispatch\NullReader
Definition:
NullReader.php:28
ILIAS\MetaData\Vocabularies\Dispatch\NullReader\vocabulariesForSlots
vocabulariesForSlots(SlotIdentifier ... $slots)
Definition:
NullReader.php:37
ILIAS\MetaData\Vocabularies\Dispatch\NullReader\activeVocabulariesForSlots
activeVocabulariesForSlots(SlotIdentifier ... $slots)
Definition:
NullReader.php:46
ILIAS\MetaData\Vocabularies\Dispatch\NullReader\vocabulary
vocabulary(string $vocab_id)
Definition:
NullReader.php:29
ILIAS\MetaData\Vocabularies\NullVocabulary
Definition:
NullVocabulary.php:27
ILIAS\MetaData\Vocabularies\Dispatch\ReaderInterface
Definition:
ReaderInterface.php:27
ILIAS\MetaData\Vocabularies\VocabularyInterface
Definition:
VocabularyInterface.php:26
ILIAS\MetaData\Vocabularies\Dispatch
Definition:
Actions.php:21
ILIAS\MetaData\Vocabularies\Slots\Identifier
Identifier
Definition:
Identifier.php:24
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\from
from(FileStream $stream)
Definition:
GdImageToStreamTrait.php:49
components
ILIAS
MetaData
classes
Vocabularies
Dispatch
NullReader.php
Generated on Sun Oct 19 2025 23:03:19 for ILIAS by
1.9.4 (using
Doxyfile
)