ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
BackgroundTaskServices.php
Go to the documentation of this file.
1 <?php
2 
19 namespace ILIAS\BackgroundTasks;
20 
26 
33 {
34  protected Container $container;
35 
36  public function __construct(Container $container)
37  {
38  $this->container = $container;
39  }
40 
41  public function taskFactory(): TaskFactory
42  {
43  return $this->container['bt.task_factory'];
44  }
45 
46  public function persistence(): Persistence
47  {
48  return $this->container['bt.persistence'];
49  }
50 
51  public function taskManager(): TaskManager
52  {
53  return $this->container['bt.task_manager'];
54  }
55 
56  public function injector(): Injector
57  {
58  return $this->container['bt.injector'];
59  }
60 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:35