ILIAS  trunk Revision v11.0_alpha-1843-g9e1fad99175
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ImprintUpdateAgent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 use ILIAS\Setup;
24 use ILIAS\Refinery;
25 use LogicException;
27 
29 {
31 
32  public function hasConfig(): bool
33  {
34  return false;
35  }
36 
38  {
39  throw new LogicException('Agent has no config.');
40  }
41 
42  public function getInstallObjective(?Setup\Config $config = null): Setup\Objective
43  {
44  return new Setup\Objective\NullObjective();
45  }
46 
47  public function getUpdateObjective(?Setup\Config $config = null): Setup\Objective
48  {
50  'impr',
51  'Legal Notice'
52  ));
53  }
54 
55  public function getBuildObjective(): Setup\Objective
56  {
57  return new Setup\Objective\NullObjective();
58  }
59 
60  public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
61  {
62  return new Setup\Objective\NullObjective();
63  }
64 
65  public function getMigrations(): array
66  {
67  return [];
68  }
69 }
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
A agent is some component that performs part of the setup process.
Definition: Agent.php:29
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Storage is simple key/value store without further schema definition.
Definition: Storage.php:29
getInstallObjective(?Setup\Config $config=null)
getUpdateObjective(?Setup\Config $config=null)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getStatusObjective(Setup\Metrics\Storage $storage)
A transformation is a function from one datatype to another.
A configuration for the setup.
Definition: Config.php:26