ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilCertificatSetupAgent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 use ILIAS\Setup;
22 use ILIAS\Refinery;
23 
24 class ilCertificatSetupAgent implements Setup\Agent
25 {
27 
28  public function hasConfig(): bool
29  {
30  return false;
31  }
32 
34  {
35  throw new LogicException('Agent has no config.');
36  }
37 
38  public function getInstallObjective(Setup\Config $config = null): Setup\Objective
39  {
40  return new Setup\Objective\NullObjective();
41  }
42 
43  public function getUpdateObjective(Setup\Config $config = null): Setup\Objective
44  {
47  );
48  }
49 
50  public function getBuildArtifactObjective(): Setup\Objective
51  {
52  return new Setup\Objective\NullObjective();
53  }
54 
55  public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
56  {
57  return new Setup\Objective\NullObjective();
58  }
59 
60  public function getMigrations(): array
61  {
62  return [];
63  }
64 }
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
getUpdateObjective(Setup\Config $config=null)
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85
getInstallObjective(Setup\Config $config=null)
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
getStatusObjective(Setup\Metrics\Storage $storage)