ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.InternalRepoService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Help;
22
26
28{
30 protected \ilDBInterface $db;
31
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)
Interface ilDBInterface.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...