ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
class.ilUICoreSetupAgent.php
Go to the documentation of this file.
1<?php declare(strict_types=1);
2
5
7{
11 protected $ctrl_reader;
12
13 public function __construct()
14 {
15 $this->ctrl_reader = new \ilCtrlStructureReader();
16 }
17
21 public function hasConfig() : bool
22 {
23 return false;
24 }
25
29 public function getConfigInput(Setup\Config $config = null) : ILIAS\UI\Component\Input\Field\Input
30 {
31 throw new \LogicException(self::class . " has no Config.");
32 }
33
38 {
39 throw new \LogicException(self::class . " has no Config.");
40 }
41
45 public function getInstallObjective(Setup\Config $config = null) : Setup\Objective
46 {
47 return new \ilCtrlStructureStoredObjective($this->ctrl_reader);
48 }
49
53 public function getUpdateObjective(Setup\Config $config = null) : Setup\Objective
54 {
55 return new \ilCtrlStructureStoredObjective($this->ctrl_reader, false);
56 }
57
61 public function getBuildArtifactObjective() : Setup\Objective
62 {
63 return new Setup\NullObjective();
64 }
65}
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.