ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\Setup\Environment Interface Reference

An environment holds resources to be used in the setup process. More...

+ Inheritance diagram for ILIAS\Setup\Environment:
+ Collaboration diagram for ILIAS\Setup\Environment:

Public Member Functions

 getResource (string $id)
 Consumers of this method should check if the result is what they expect, e.g. More...
 
 withResource (string $id, $resource)
 
 withConfigFor (string $component, $config)
 Stores a config for some component in the environment. More...
 
 getConfigFor (string $component)
 
 hasConfigFor (string $component)
 

Data Fields

const RESOURCE_DATABASE = "resource_database"
 
const RESOURCE_ADMIN_INTERACTION = "resource_admin_interaction"
 
const RESOURCE_ILIAS_INI = "resource_ilias_ini"
 
const RESOURCE_CLIENT_INI = "resource_client_ini"
 
const RESOURCE_SETTINGS_FACTORY = "resource_settings_factory"
 
const RESOURCE_CLIENT_ID = "resource_client_id"
 
const RESOURCE_PLUGIN_ADMIN = "resource_plugin_admin"
 

Detailed Description

An environment holds resources to be used in the setup process.

Objectives might add resources when they have been achieved.

Definition at line 11 of file Environment.php.

Member Function Documentation

◆ getConfigFor()

ILIAS\Setup\Environment::getConfigFor ( string  $component)
Exceptions

Implemented in ILIAS\Setup\ArrayEnvironment.

◆ getResource()

◆ hasConfigFor()

ILIAS\Setup\Environment::hasConfigFor ( string  $component)

◆ withConfigFor()

ILIAS\Setup\Environment::withConfigFor ( string  $component,
  $config 
)

Stores a config for some component in the environment.

Exceptions

Implemented in ILIAS\Setup\ArrayEnvironment.

Referenced by ILIAS\Setup\CLI\addAgentConfigsToEnvironment().

+ Here is the caller graph for this function:

◆ withResource()

ILIAS\Setup\Environment::withResource ( string  $id,
  $resource 
)
Exceptions

Implemented in ILIAS\Setup\ArrayEnvironment.

Field Documentation

◆ RESOURCE_ADMIN_INTERACTION

◆ RESOURCE_CLIENT_ID

◆ RESOURCE_CLIENT_INI

const ILIAS\Setup\Environment::RESOURCE_CLIENT_INI = "resource_client_ini"

Definition at line 18 of file Environment.php.

◆ RESOURCE_DATABASE

const ILIAS\Setup\Environment::RESOURCE_DATABASE = "resource_database"

Definition at line 15 of file Environment.php.

◆ RESOURCE_ILIAS_INI

const ILIAS\Setup\Environment::RESOURCE_ILIAS_INI = "resource_ilias_ini"

Definition at line 17 of file Environment.php.

◆ RESOURCE_PLUGIN_ADMIN

const ILIAS\Setup\Environment::RESOURCE_PLUGIN_ADMIN = "resource_plugin_admin"

Definition at line 21 of file Environment.php.

◆ RESOURCE_SETTINGS_FACTORY

const ILIAS\Setup\Environment::RESOURCE_SETTINGS_FACTORY = "resource_settings_factory"

Definition at line 19 of file Environment.php.


The documentation for this interface was generated from the following file: