ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
class.ilComponentsSetupAgent.php
Go to the documentation of this file.
1 <?php declare(strict_types=1);
2 
3 use \ILIAS\Setup;
4 use \ILIAS\UI;
5 use \ILIAS\Refinery\Transformation;
6 
7 class ilComponentsSetupAgent implements Setup\Agent
8 {
12  public function hasConfig() : bool
13  {
14  return false;
15  }
16 
20  public function getConfigInput(Setup\Config $config = null) : ILIAS\UI\Component\Input\Field\Input
21  {
22  throw new \LogicException(self::class . " has no Config.");
23  }
24 
29  {
30  throw new \LogicException(self::class . " has no Config.");
31  }
32 
36  public function getInstallObjective(Setup\Config $config = null) : Setup\Objective
37  {
38  return new \ilComponentDefinitionsStoredObjective();
39  }
40 
44  public function getUpdateObjective(Setup\Config $config = null) : Setup\Objective
45  {
46  return new \ilComponentDefinitionsStoredObjective(false);
47  }
48 
52  public function getBuildArtifactObjective() : Setup\Objective
53  {
54  return new Setup\NullObjective();
55  }
56 }
Class Factory.
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:14
Class ChatMainBarProvider .
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:68
getConfigInput(Setup\Config $config=null)
getInstallObjective(Setup\Config $config=null)
getUpdateObjective(Setup\Config $config=null)
A transformation is a function from one datatype to another.
A configuration for the setup.
Definition: Config.php:10