ILIAS  trunk Revision v11.0_alpha-1689-g66c127b4ae8
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
FileServices.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS;
22 
29 
30 class FileServices implements Component
31 {
32  public function init(
33  array | \ArrayAccess &$define,
34  array | \ArrayAccess &$implement,
35  array | \ArrayAccess &$use,
36  array | \ArrayAccess &$contribute,
37  array | \ArrayAccess &$seek,
38  array | \ArrayAccess &$provide,
39  array | \ArrayAccess &$pull,
40  array | \ArrayAccess &$internal,
41  ): void {
42  $implement[PhpUploadLimit::class] = static fn(): FileServicesLegacyInitialisationAdapter =>
44  $implement[GlobalUploadLimit::class] = static fn(): FileServicesLegacyInitialisationAdapter =>
46 
47  $contribute[Agent::class] = static fn(): \ilFileServicesSetupAgent =>
48  new \ilFileServicesSetupAgent(
49  $pull[Factory::class]
50  );
51  }
52 }
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,)
Interface Observer Contains several chained tasks and infos about them.