ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilGlobalScreenSetupAgent.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 use ILIAS\Setup;
8 
9 /******************************************************************************
10  *
11  * This file is part of ILIAS, a powerful learning management system.
12  *
13  * ILIAS is licensed with the GPL-3.0, you should have received a copy
14  * of said license along with the source code.
15  *
16  * If this is not the case or you just want to try ILIAS, you'll find
17  * us at:
18  * https://www.ilias.de
19  * https://github.com/ILIAS-eLearning
20  *
21  *****************************************************************************/
22 class ilGlobalScreenSetupAgent implements Setup\Agent
23 {
25 
26  protected Refinery $refinery;
27 
28  public function __construct(Refinery $refinery)
29  {
30  $this->refinery = $refinery;
31  }
32 
36  public function hasConfig(): bool
37  {
38  return false;
39  }
40 
45  {
46  throw new LogicException(self::class . " has no Config.");
47  }
48 
52  public function getInstallObjective(Setup\Config $config = null): Setup\Objective
53  {
54  return new Setup\Objective\NullObjective();
55  }
56 
60  public function getUpdateObjective(Setup\Config $config = null): Setup\Objective
61  {
62  return new Setup\Objective\NullObjective();
63  }
64 
68  public function getBuildArtifactObjective(): Setup\Objective
69  {
71  }
72 
76  public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
77  {
78  return new Setup\Objective\NullObjective();
79  }
80 
84  public function getMigrations(): array
85  {
86  return [];
87  }
88 }
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85
getUpdateObjective(Setup\Config $config=null)
getInstallObjective(Setup\Config $config=null)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
A transformation is a function from one datatype to another.
A configuration for the setup.
Definition: Config.php:26
getStatusObjective(Setup\Metrics\Storage $storage)