19 declare(strict_types=1);
    31     public const BASE_DIR = 
'./src/FileDelivery/artifacts/base_dir.php';
    37         return self::BASE_DIR;
    44             $base_dir = $ilias_ini->readVariable(
'clients', 
'datadir');
    45             $client_id = $ilias_ini->readVariable(
'clients', 
'default');
    47                 $this->data[
'base_dir'] = rtrim(rtrim($base_dir, 
'/') . 
'/' . 
$client_id, 
'/') . 
'/';
    50         return $this->
build();
    60         return new Setup\Artifact\ArrayArtifact($this->data);
    66             new \ilIniFilesLoadedObjective(),
    70     public static function get(): ?
string    78         if (is_readable(self::PATH())) {
    79             $data = require self::PATH();
    82         return $base = $data[
'base_dir'] ?? null;
 This is an objective to build some artifact. 
 
getPreconditions(Setup\Environment $environment)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
An environment holds resources to be used in the setup process. 
 
An artifact is some file that is build on demand per installation and is not shipped with the ILIAS s...
 
buildIn(Setup\Environment $env)