ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
class.ilGlobalScreenSetupAgent.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 2019 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
6use ILIAS\Data\Factory as DataFactory;
7use ILIAS\Refinery\Factory as Refinery;
9
11{
15 protected $refinery;
16
17 public function __construct(Refinery $refinery)
18 {
19 $this->refinery = $refinery;
20 }
21
25 public function hasConfig() : bool
26 {
27 return false;
28 }
29
33 public function getConfigInput(Setup\Config $config = null) : ILIAS\UI\Component\Input\Field\Input
34 {
35 throw new \LogicException(self::class . " has no Config.");
36 }
37
42 {
43 throw new \LogicException(self::class . " has no Config.");
44 }
45
49 public function getInstallObjective(Setup\Config $config = null) : Setup\Objective
50 {
51 return new Setup\NullObjective();
52 }
53
57 public function getUpdateObjective(Setup\Config $config = null) : Setup\Objective
58 {
59 return new Setup\NullObjective();
60 }
61
65 public function getBuildArtifactObjective() : Setup\Objective
66 {
67 return new \ilGlobalScreenBuildProviderMapObjective();
68 }
69}
An exception for terminatinating execution or to throw for unit testing.
Builds data types.
Definition: Factory.php:20
A non-objective, nothing to do to achieve it...
getConfigInput(Setup\Config $config=null)
@inheritdocs
getUpdateObjective(Setup\Config $config=null)
@inheritdocs
getInstallObjective(Setup\Config $config=null)
@inheritdocs
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.