ILIAS  release_8 Revision v8.24
LDAPSetupAgent.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\LDAP\Setup;
22
23use ILIAS\Setup;
25use LogicException;
28
30{
31 use Setup\Agent\HasNoNamedObjective;
32
33 public function hasConfig(): bool
34 {
35 return false;
36 }
37
39 {
40 throw new LogicException('Agent has no config.');
41 }
42
43 public function getInstallObjective(Setup\Config $config = null): Setup\Objective
44 {
46 }
47
48 public function getUpdateObjective(Setup\Config $config = null): Setup\Objective
49 {
52 );
53 }
54
55 public function getBuildArtifactObjective(): Setup\Objective
56 {
58 }
59
60 public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
61 {
63 }
64
65 public function getMigrations(): array
66 {
67 return [];
68 }
69}
getArrayToConfigTransformation()
Agents must be able to tell how to create a configuration from a nested array.
hasConfig()
Does this agent require a configuration?
getInstallObjective(Setup\Config $config=null)
getBuildArtifactObjective()
Get the goal the agent wants to achieve to build artifacts.
getUpdateObjective(Setup\Config $config=null)
getStatusObjective(Setup\Metrics\Storage $storage)
getMigrations()
Get a named map of migrations available for this Agent.
A non-objective, nothing to do to achieve it...
This class attempt to achieve a set of database update steps.
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
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: ByTrying.php:21
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...