ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ilMDSetupAgent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 use ILIAS\Setup;
23 
24 class ilMDSetupAgent extends Setup\Agent\NullAgent
25 {
26  public function getUpdateObjective(Setup\Config $config = null): Setup\Objective
27  {
28  return new Setup\ObjectiveCollection(
29  'MetaData',
30  false,
33  );
34  }
35 
36  public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
37  {
38  return new Setup\ObjectiveCollection(
39  'Component MetaData',
40  true,
43  );
44  }
45 
46  public function getMigrations(): array
47  {
49  }
50 }
getStatusObjective(Setup\Metrics\Storage $storage)
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getUpdateObjective(Setup\Config $config=null)
A configuration for the setup.
Definition: Config.php:26