ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilKitchenSinkDataCollectedObjective.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 use ILIAS\Setup;
23 
24 class ilKitchenSinkDataCollectedObjective extends Setup\Artifact\BuildArtifactObjective
25 {
26  public const ROOT_FACTORY_PATH = __DIR__ . '/../../System/data/abstractDataFactory.php';
27 
28  public function getArtifactName(): string
29  {
30  return "kitchen_sink_data";
31  }
32 
33 
34  public function build(): Setup\Artifact
35  {
36  $crawler = new Crawler\FactoriesCrawler();
37  return new Setup\Artifact\ArrayArtifact(
38  $crawler->crawlFactory(self::ROOT_FACTORY_PATH)
39  ->jsonSerialize()
40  );
41  }
42 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
An artifact is some file that is build on demand per installation and is not shipped with the ILIAS s...
Definition: Artifact.php:27