ILIAS  trunk Revision v11.0_alpha-1843-g9e1fad99175
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.InternalRepoService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Help;
22 
26 
28 {
30  protected \ilDBInterface $db;
31 
32  public function __construct(InternalDataService $data, \ilDBInterface $db)
33  {
34  $this->data = $data;
35  $this->db = $db;
36  }
37 
38  public function map(): MapDBRepository
39  {
40  return new MapDBRepository($this->db);
41  }
42 
43  public function tooltips(): TooltipsDBRepository
44  {
45  return new TooltipsDBRepository($this->db);
46  }
47 
48  public function module(): ModuleDBRepository
49  {
50  return new ModuleDBRepository($this->db);
51  }
52 
53 }
__construct(InternalDataService $data, \ilDBInterface $db)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...