ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Style.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS;
22
23class Style implements Component\Component
24{
25 public function init(
26 array | \ArrayAccess &$define,
27 array | \ArrayAccess &$implement,
28 array | \ArrayAccess &$use,
29 array | \ArrayAccess &$contribute,
30 array | \ArrayAccess &$seek,
31 array | \ArrayAccess &$provide,
32 array | \ArrayAccess &$pull,
33 array | \ArrayAccess &$internal,
34 ): void {
35 $implement[UI\Implementation\Render\ImagePathResolver::class] = static fn() =>
37
38 $contribute[\ILIAS\Setup\Agent::class] = static fn() =>
39 new \ilStyleSetupAgent(
40 $pull[\ILIAS\Refinery\Factory::class]
41 );
42
43 $contribute[\ILIAS\Setup\Agent::class] = static fn() =>
44 new \ILIAS\Style\Content\Setup\ContentStyleAgent(
45 $pull[\ILIAS\Refinery\Factory::class]
46 );
47
48 $contribute[User\Settings\UserSettings::class] = fn() =>
50 }
51}
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: Style.php:25
Definition: UI.php:24
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.