ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
Registration.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS;
22
28
30{
31 public function init(
32 array | \ArrayAccess &$define,
33 array | \ArrayAccess &$implement,
34 array | \ArrayAccess &$use,
35 array | \ArrayAccess &$contribute,
36 array | \ArrayAccess &$seek,
37 array | \ArrayAccess &$provide,
38 array | \ArrayAccess &$pull,
39 array | \ArrayAccess &$internal,
40 ): void {
41 $contribute[Agent::class] = static fn() =>
43 $pull[Factory::class]
44 );
45
46 $contribute[Component\Resource\PublicAsset::class] = fn() =>
47 new Component\Resource\Endpoint($this, "confirmReg.php");
48
49 $contribute[\ILIAS\StaticURL\Handler\Handler::class] = static fn() =>
50 new \ILIAS\Registration\URL\StaticUrlHandler();
51 $contribute[LanguageFileDirectory::class] = fn() => new ComponentLanguageFileDirectory(
52 $this,
53 'registration'
54 );
55 }
56}
An endpoint is a PHP file that produces output via HTTP.
Definition: Endpoint.php:29
Builds a Color from either hex- or rgb values.
Definition: Factory.php:31
Builds data types.
Definition: Factory.php:36
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,)
A directory of language files with a path and a prefix for them.
A component is the most general form of an entity in the UI.
Definition: Component.php:28
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.