ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
BackgroundTaskServices.php
Go to the documentation of this file.
1 <?php
2 
3 namespace ILIAS\DI;
4 
8 
12 {
13 
17  protected $container;
18 
19 
20  public function __construct(Container $container)
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 }
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:16
Class HTTPServicesTest.