ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
scenario5.php
Go to the documentation of this file.
1<?php
2
20
23
25{
26 public function getComponent(): Component
27 {
28 }
29 public function getName(): string
30 {
31 return "just a name";
32 }
33 public function enter(): int
34 {
35 }
36}
37
38class ComponentA implements Component
39{
40 public function init(
41 array | \ArrayAccess &$define,
42 array | \ArrayAccess &$implement,
43 array | \ArrayAccess &$use,
44 array | \ArrayAccess &$contribute,
45 array | \ArrayAccess &$seek,
46 array | \ArrayAccess &$provide,
47 array | \ArrayAccess &$pull,
48 array | \ArrayAccess &$internal,
49 ): void {
50 $contribute[EntryPoint::class] = fn() => new ComponentAEntryPoint();
51 }
52}
enter()
Pass program execution to this entry point.
Definition: scenario5.php:33
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: scenario5.php:40
An entrypoint is where the programm execution starts.
Definition: EntryPoint.php:28
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: scenario5.php:19