ILIAS  release_8 Revision v8.24
class.ilComponentBuildComponentInfoObjective.php
Go to the documentation of this file.
1<?php
19use ILIAS\Setup;
20
22{
23 public function getArtifactPath(): string
24 {
25 return \ilArtifactComponentRepository::COMPONENT_DATA_PATH;
26 }
27
28
29 public function build(): Setup\Artifact
30 {
31 $processor = new \ilComponentInfoDefinitionProcessor();
32 $reader = new \ilComponentDefinitionReader(
33 $processor
34 );
35
36 $reader->purge();
37 $reader->readComponentDefinitions();
38
39 return new Setup\Artifact\ArrayArtifact($processor->getData());
40 }
41}
An array as an artifact.
An artifact is some file that is build on demand per installation and is not shipped with the ILIAS s...
Definition: Artifact.php:28
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...