ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ilDataCollectionSetupAgent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 use ILIAS\Setup;
27 
28 class ilDataCollectionSetupAgent implements Setup\Agent
29 {
30  public function getUpdateObjective(Config $config = null): Objective
31  {
32  return new Setup\ObjectiveCollection(
33  'DataCollection Update',
34  true,
37  );
38  }
39 
40  public function getMigrations(): array
41  {
42  return [
44  ];
45  }
46 
47  public function hasConfig(): bool
48  {
49  return false;
50  }
51 
53  {
54  throw new LogicException(self::class . " has no config.");
55  }
56 
57  public function getInstallObjective(Config $config = null): Objective
58  {
59  return new NullObjective();
60  }
61 
63  {
64  return new NullObjective();
65  }
66 
67  public function getStatusObjective(Storage $storage): Objective
68  {
69  return new NullObjective();
70  }
71 
72  public function getNamedObjectives(?Config $config = null): array
73  {
74  return [];
75  }
76 }
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
A non-objective, nothing to do to achieve it...
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 transformation is a function from one datatype to another.
A configuration for the setup.
Definition: Config.php:26