ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilStudyProgrammeMigrationAgent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 use ILIAS\Refinery;
22 use ILIAS\Setup;
23 
24 class ilStudyProgrammeMigrationAgent implements Setup\Agent
25 {
27 
28  protected $refinery;
29 
31  {
32  $this->refinery = $refinery;
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(\ILIAS\Setup\Config $config = null): Setup\Objective
45  {
46  return new Setup\Objective\NullObjective();
47  }
48 
49  public function getUpdateObjective(\ILIAS\Setup\Config $config = null): Setup\Objective
50  {
51  return new Setup\Objective\NullObjective();
52  }
53 
54  public function getBuildArtifactObjective(): Setup\Objective
55  {
56  return new Setup\Objective\NullObjective();
57  }
58 
59  public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
60  {
61  return new Setup\Objective\NullObjective();
62  }
63 
64  public function getMigrations(): array
65  {
66  return [
68  ];
69  }
70 }
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...
Definition: ByTrying.php:21
Class ChatMainBarProvider .
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85
getStatusObjective(Setup\Metrics\Storage $storage)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getUpdateObjective(\ILIAS\Setup\Config $config=null)
getInstallObjective(\ILIAS\Setup\Config $config=null)
A transformation is a function from one datatype to another.
A configuration for the setup.
Definition: Config.php:26