ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ 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\activeVocabulariesForSlots
activeVocabulariesForSlots(SlotIdentifier ... $slots)
Definition:
NullReader.php:46
ILIAS\MetaData\Vocabularies\Dispatch\ReaderInterface
Definition:
ReaderInterface.php:26
ILIAS\MetaData\Vocabularies\NullVocabulary
Definition:
NullVocabulary.php:26
ILIAS\MetaData\Vocabularies\Dispatch\NullReader\vocabulary
vocabulary(string $vocab_id)
Definition:
NullReader.php:29
NullVocabulary
ILIAS\MetaData\Vocabularies\VocabularyInterface
Definition:
VocabularyInterface.php:25
ILIAS\MetaData\Vocabularies\Dispatch
Definition:
Actions.php:21
Identifier
Generator
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\from
from(FileStream $stream)
Definition:
GdImageToStreamTrait.php:48
ILIAS\MetaData\Vocabularies\Dispatch\NullReader\vocabulariesForSlots
vocabulariesForSlots(SlotIdentifier ... $slots)
Definition:
NullReader.php:37
VocabularyInterface
ILIAS\MetaData\Vocabularies\Dispatch\NullReader
Definition:
NullReader.php:27
components
ILIAS
MetaData
classes
Vocabularies
Dispatch
NullReader.php
Generated on Mon Sep 1 2025 23:03:33 for ILIAS by
1.8.13 (using
Doxyfile
)