ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilGlobalScreenSetupAgent.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22use ILIAS\Setup\Agent\HasNoNamedObjective;
27use ILIAS\Refinery\Factory as Refinery;
29
31{
32 use HasNoNamedObjective;
33
34 public function __construct(protected Refinery $refinery)
35 {
36 }
37
41 public function hasConfig(): bool
42 {
43 return false;
44 }
45
50 {
51 throw new LogicException(self::class . " has no Config.");
52 }
53
57 public function getInstallObjective(?Config $config = null): Objective
58 {
59 return new NullObjective();
60 }
61
65 public function getUpdateObjective(?Config $config = null): Objective
66 {
67 return new NullObjective();
68 }
69
73 public function getBuildObjective(): Objective
74 {
76 }
77
81 public function getStatusObjective(Storage $storage): Objective
82 {
83 return new NullObjective();
84 }
85
89 public function getMigrations(): array
90 {
91 return [];
92 }
93}
Builds data types.
Definition: Factory.php:36
A non-objective, nothing to do to achieve it...
getUpdateObjective(?Config $config=null)
@inheritdocs
getInstallObjective(?Config $config=null)
@inheritdocs
__construct(protected Refinery $refinery)
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:30
A configuration for the setup.
Definition: Config.php:27
An objective is a desired state of the system that is supposed to be created by the setup.
Definition: Objective.php:31