ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilCtrlStructureArtifactObjective.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
24
32{
33
34 public function getArtifactName(): string
35 {
36 return "ctrl_structure";
37 }
38
39
43 public function build(): Artifact
44 {
45 $ilias_path = dirname(__FILE__, 7);
46 $class_map = require $ilias_path . "/vendor/composer/vendor/composer/autoload_classmap.php";
47
48 return new ArrayArtifact(
50 new ilCtrlArrayIterator($class_map),
52 ))->readStructure()
53 );
54 }
55}
An array as an artifact.
This is an objective to build some artifact.
Class ilCtrlArrayIterator.
getArtifactName()
Get the filename where the builder wants to put its artifact.
Class ilCtrlStructureCidGenerator.
Class ilCtrlStructureReader is responsible for reading ilCtrl's control structure.
An artifact is some file that is build on demand per installation and is not shipped with the ILIAS s...
Definition: Artifact.php:28