ILIAS  trunk Revision v11.0_alpha-1689-g66c127b4ae8
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
File.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS;
22 
26 
27 class File implements 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[Agent::class] = static fn(): \ilFileObjectAgent =>
40  new \ilFileObjectAgent(
41  $pull[Factory::class]
42  );
43  }
44 }
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: File.php:29