ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
BuildExportOptionsMapObjective.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Export\Setup
;
22
23
use
ILIAS\Setup\Artifact\BuildArtifactObjective
as
ilBuildArtifactObjective
;
24
use
ILIAS\Setup\Artifact
as
ilSetupArtifact
;
25
use
ILIAS\Setup\Artifact\ArrayArtifact
as
ilSetupArrayArtifact
;
26
use
ILIAS\Setup\ImplementationOfInterfaceFinder
as
ilSetupImplementationOfInterfaceFinder
;
27
use
ILIAS\Export\ExportHandler\I\Consumer\ExportOption\HandlerInterface
as ExportOptionInterface;
28
use
ILIAS\Export\ExportHandler\I\Consumer\ExportConfig\HandlerInterface
as ExportConfigInterface;
29
30
class
BuildExportOptionsMapObjective
extends
ilBuildArtifactObjective
31
{
32
public
function
getArtifactName
(): string
33
{
34
return
"export_artifact"
;
35
}
36
37
public
function
build
():
ilSetupArtifact
38
{
39
$class_names = [];
40
$finder =
new
ilSetupImplementationOfInterfaceFinder
();
41
$infos[
'export_options'
] = iterator_to_array($finder->getMatchingClassNames(ExportOptionInterface::class));
42
$infos[
'export_configs'
] = iterator_to_array($finder->getMatchingClassNames(ExportConfigInterface::class));
43
return
new
ilSetupArrayArtifact
($infos);
44
}
45
}
ArrayArtifact
ILIAS\Export\ExportHandler\I\Consumer\ExportConfig\HandlerInterface
Definition:
HandlerInterface.php:23
ImplementationOfInterfaceFinder
ILIAS\Setup\Artifact
Definition:
ArrayArtifact.php:21
ILIAS\Export\Setup\BuildExportOptionsMapObjective\build
build()
Definition:
BuildExportOptionsMapObjective.php:37
ILIAS\Export\Setup\BuildExportOptionsMapObjective
Definition:
BuildExportOptionsMapObjective.php:30
ILIAS\Export\Setup
Definition:
BuildExportOptionsMapObjective.php:21
ILIAS\Export\ExportHandler\I\Consumer\ExportOption\HandlerInterface
Definition:
HandlerInterface.php:31
BuildArtifactObjective
ILIAS\Export\Setup\BuildExportOptionsMapObjective\getArtifactName
getArtifactName()
Definition:
BuildExportOptionsMapObjective.php:32
components
ILIAS
Export
classes
Setup
BuildExportOptionsMapObjective.php
Generated on Sun Aug 31 2025 23:02:55 for ILIAS by
1.8.13 (using
Doxyfile
)