|
ILIAS
release_8 Revision v8.24
|
Inheritance diagram for ILIAS\Setup\ArrayEnvironment:
Collaboration diagram for ILIAS\Setup\ArrayEnvironment:Public Member Functions | |||
| __construct (array $resources) | |||
| getResource (string $id) | |||
Consumers of this method should check if the result is what they expect, e.g.implements some known interface.
| |||
| withResource (string $id, $resource) | |||
RuntimeException if this resource is already in the environment. More... | |||
| withConfigFor (string $component, $config) | |||
Stores a config for some component in the environment.
RuntimeException if this config is already in the environment. More... | |||
| getConfigFor (string $component) | |||
RuntimeException if there is no config for the component
| |||
| hasConfigFor (string $component) | |||
| 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) | |||
Protected Attributes | |
| array | $resources |
| array | $configs |
Additional Inherited Members | |
Data Fields inherited from ILIAS\Setup\Environment | |
| 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" |
| const | RESOURCE_COMPONENT_REPOSITORY = "resource_component_repository" |
| const | RESOURCE_COMPONENT_FACTORY = "resource_component_factory" |
Definition at line 25 of file ArrayEnvironment.php.
| ILIAS\Setup\ArrayEnvironment::__construct | ( | array | $resources | ) |
Definition at line 37 of file ArrayEnvironment.php.
References ILIAS\Setup\ArrayEnvironment\$resources.
| ILIAS\Setup\ArrayEnvironment::getConfigFor | ( | string | $component | ) |
RuntimeException if there is no config for the component
Implements ILIAS\Setup\Environment.
Definition at line 86 of file ArrayEnvironment.php.
| ILIAS\Setup\ArrayEnvironment::getResource | ( | string | $id | ) |
Consumers of this method should check if the result is what they expect, e.g.implements some known interface.
Implements ILIAS\Setup\Environment.
Definition at line 45 of file ArrayEnvironment.php.
References $id.
| ILIAS\Setup\ArrayEnvironment::hasConfigFor | ( | string | $component | ) |
Implements ILIAS\Setup\Environment.
Definition at line 99 of file ArrayEnvironment.php.
| ILIAS\Setup\ArrayEnvironment::withConfigFor | ( | string | $component, |
| $config | |||
| ) |
Stores a config for some component in the environment.
RuntimeException if this config is already in the environment.
Implements ILIAS\Setup\Environment.
Definition at line 71 of file ArrayEnvironment.php.
References $config.
| ILIAS\Setup\ArrayEnvironment::withResource | ( | string | $id, |
| $resource | |||
| ) |
RuntimeException if this resource is already in the environment.
Implements ILIAS\Setup\Environment.
Definition at line 56 of file ArrayEnvironment.php.
References $id.
|
protected |
Definition at line 35 of file ArrayEnvironment.php.
|
protected |
Definition at line 30 of file ArrayEnvironment.php.
Referenced by ILIAS\Setup\ArrayEnvironment\__construct().