ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
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,
32  );
33  }
34 
35  public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
36  {
37  return new Setup\Objective\NullObjective();
38  }
39 
40  public function getMigrations(): array
41  {
42  return [new ilMDCopyrightMigration()];
43  }
44 }
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
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85
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