|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
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 | |
| $resources | |
| $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" |
Definition at line 9 of file ArrayEnvironment.php.
| ILIAS\Setup\ArrayEnvironment::__construct | ( | array | $resources | ) |
Definition at line 21 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 70 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 29 of file ArrayEnvironment.php.
| ILIAS\Setup\ArrayEnvironment::hasConfigFor | ( | string | $component | ) |
Implements ILIAS\Setup\Environment.
Definition at line 83 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 55 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 40 of file ArrayEnvironment.php.
|
protected |
Definition at line 19 of file ArrayEnvironment.php.
|
protected |
Definition at line 14 of file ArrayEnvironment.php.
Referenced by ILIAS\Setup\ArrayEnvironment\__construct().