ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
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\Taxonomy;
22 
25 
27 {
29  protected \ilDBInterface $db;
30 
31  public function __construct(InternalDataService $data, \ilDBInterface $db)
32  {
33  $this->data = $data;
34  $this->db = $db;
35  }
36 
37  public function usage(): UsageDBRepository
38  {
39  return new UsageDBRepository($this->db);
40  }
41 }
__construct(InternalDataService $data, \ilDBInterface $db)