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\Services\Reader
;
22
23
use
ILIAS\MetaData\Paths\PathInterface
;
24
use
ILIAS\MetaData\Elements\Data\DataInterface
;
25
use
ILIAS\MetaData\Elements\Data\NullData
;
26
27
class
NullReader
implements
ReaderInterface
28
{
32
public
function
allData
(
PathInterface
$path
): \
Generator
33
{
34
yield
from
[];
35
}
36
37
public
function
firstData
(
PathInterface
$path
):
DataInterface
38
{
39
return
new
NullData
();
40
}
41
}
DataInterface
NullData
ILIAS\MetaData\Services\Reader\ReaderInterface
Definition:
ReaderInterface.php:26
ILIAS\MetaData\Paths\PathInterface
Definition:
PathInterface.php:25
ILIAS\MetaData\Elements\Data\NullData
Definition:
NullData.php:26
ILIAS\MetaData\Elements\Data\DataInterface
Definition:
DataInterface.php:25
$path
$path
Definition:
ltiservices.php:29
ILIAS\MetaData\Services\Reader\NullReader\allData
allData(PathInterface $path)
Definition:
NullReader.php:32
Generator
ILIAS\MetaData\Services\Reader\NullReader
Definition:
NullReader.php:27
ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\from
from(FileStream $stream)
Definition:
GdImageToStreamTrait.php:48
ILIAS\MetaData\Services\Reader\NullReader\firstData
firstData(PathInterface $path)
Get the data of the first of the elements specified by the path.
Definition:
NullReader.php:37
PathInterface
ILIAS\MetaData\Services\Reader
Definition:
Factory.php:21
components
ILIAS
MetaData
classes
Services
Reader
NullReader.php
Generated on Mon Sep 1 2025 23:03:33 for ILIAS by
1.8.13 (using
Doxyfile
)