ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
Cloud.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS;
22 
24 use ILIAS\Component;
25 use ILIAS\Cloud\Agent as CloudSetupAgent;
26 
27 class Cloud implements Component\Component
28 {
29  public function init(
30  array|\ArrayAccess &$define,
31  array|\ArrayAccess &$implement,
32  array|\ArrayAccess &$use,
33  array|\ArrayAccess &$contribute,
34  array|\ArrayAccess &$seek,
35  array|\ArrayAccess &$provide,
36  array|\ArrayAccess &$pull,
37  array|\ArrayAccess &$internal,
38  ): void {
39  $contribute[\ILIAS\Setup\Agent::class] = static fn(): \ILIAS\Setup\Agent => new CloudSetupAgent(
40  $pull[Factory::class]
41  );
42  }
43 }
Interface Observer Contains several chained tasks and infos about them.
init(array|\ArrayAccess &$define, array|\ArrayAccess &$implement, array|\ArrayAccess &$use, array|\ArrayAccess &$contribute, array|\ArrayAccess &$seek, array|\ArrayAccess &$provide, array|\ArrayAccess &$pull, array|\ArrayAccess &$internal,)
Definition: Cloud.php:29