ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
BackgroundTasks_.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS;
22
26
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[PublicAsset::class] = fn(): ComponentJS =>
40 new ComponentJS($this, "background_task_refresh.js");
41 }
42}
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,)
This is a js file provided by some component.
Definition: ComponentJS.php:27
An public asset is a file or folder that should be served via the web.
Definition: PublicAsset.php:27
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.