ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
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\User\Setup;
22 
23 use ILIAS\Setup;
25 use ILIAS\Refinery;
26 
27 class Agent extends Setup\Agent\NullAgent
28 {
29  public function getUpdateObjective(?Setup\Config $config = null): Setup\Objective
30  {
31  return new \ilDatabaseUpdateStepsExecutedObjective(
32  new DBUpdateSteps10()
33  );
34  }
35 
36  public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
37  {
38  return new \ilDatabaseUpdateStepsMetricsCollectedObjective(
39  $storage,
40  new DBUpdateSteps10()
41  );
42  }
43 }
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
getUpdateObjective(?Setup\Config $config=null)
Definition: Agent.php:29
getStatusObjective(Setup\Metrics\Storage $storage)
Definition: Agent.php:36
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Storage is simple key/value store without further schema definition.
Definition: Storage.php:29
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
A configuration for the setup.
Definition: Config.php:26