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
3use \ILIAS\Setup;
4use \ILIAS\UI;
5use \ILIAS\Refinery\Transformation;
6
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}
An exception for terminatinating execution or to throw for unit testing.
A non-objective, nothing to do to achieve it...
getUpdateObjective(Setup\Config $config=null)
getInstallObjective(Setup\Config $config=null)
getConfigInput(Setup\Config $config=null)
A transformation is a function from one datatype to another.
A agent is some component that performs part of the setup process.
Definition: Agent.php:14
A configuration for the setup.
Definition: Config.php:11
An objective is a desired state of the system that is supposed to be created by the setup.
Definition: Objective.php:15
A component is the most general form of an entity in the UI.
Definition: Component.php:14
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:68
Class ChatMainBarProvider \MainMenu\Provider.
Class Factory.