ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Agent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\LDAP\Setup;
22 
23 use ILIAS\Setup;
24 use ILIAS\Refinery;
25 use LogicException;
29 
30 class Agent implements Setup\Agent
31 {
33 
34  public function hasConfig(): bool
35  {
36  return false;
37  }
38 
40  {
41  throw new LogicException('Agent has no config.');
42  }
43 
44  public function getInstallObjective(?Setup\Config $config = null): Setup\Objective
45  {
46  return new Setup\Objective\NullObjective();
47  }
48 
49  public function getUpdateObjective(?Setup\Config $config = null): Setup\Objective
50  {
53  );
54  }
55 
57  {
58  return new Setup\Objective\NullObjective();
59  }
60 
61  public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
62  {
64  }
65 
66  public function getMigrations(): array
67  {
68  return [];
69  }
70 
71  public function getBuildObjective(): Objective
72  {
73  return new Setup\Objective\NullObjective();
74  }
75 }
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
getArrayToConfigTransformation()
Definition: Agent.php:39
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
getUpdateObjective(?Setup\Config $config=null)
Definition: Agent.php:49
Storage is simple key/value store without further schema definition.
Definition: Storage.php:29
getStatusObjective(Setup\Metrics\Storage $storage)
Definition: Agent.php:61
getInstallObjective(?Setup\Config $config=null)
Definition: Agent.php:44
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