ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
BackgroundTaskServices.php
Go to the documentation of this file.
1<?php
2
3namespace ILIAS\DI;
4
8
12{
13
17 protected $container;
18
19
21 {
22 $this->container = $container;
23 }
24
25
29 public function taskFactory()
30 {
31 return $this->container['bt.task_factory'];
32 }
33
34
38 public function persistence()
39 {
40 return $this->container['bt.persistence'];
41 }
42
43
47 public function taskManager()
48 {
49 return $this->container['bt.task_manager'];
50 }
51
52
56 public function injector()
57 {
58 return $this->container['bt.injector'];
59 }
60}
An exception for terminatinating execution or to throw for unit testing.
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:16
Class HTTPServicesTest.