ILIAS  trunk Revision v13.0_alpha-52-g21c366bbdd4
BackgroundTaskServices.php
Go to the documentation of this file.
1<?php
2
20
27
34{
35 public function __construct(protected Container $container)
36 {
37 }
38
39 public function taskFactory(): TaskFactory
40 {
41 return $this->container['bt.task_factory'];
42 }
43
44 public function persistence(): Persistence
45 {
46 return $this->container['bt.persistence'];
47 }
48
49 public function taskManager(): TaskManager
50 {
51 return $this->container['bt.task_manager'];
52 }
53
54 public function injector(): Injector
55 {
56 return $this->container['bt.injector'];
57 }
58
59 public function registry(): Registry
60 {
61 return $this->container[Registry::class];
62 }
63}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:38
All tasks and values the components contribute via $contribute[\ILIAS\BackgroundTasks\Task::class] an...
Definition: Registry.php:43
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$container
@noRector
Definition: wac.php:39