ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.InternalRepoService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\Glossary;
22 
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  /*
39  public function ...() : ...\RepoService
40  {
41  return new ...\RepoService(
42  $this->data,
43  $this->db
44  );
45  }*/
46 
47  public function termSession(): Term\TermSessionRepository
48  {
49  return new Term\TermSessionRepository();
50  }
51 }
__construct(InternalDataService $data, \ilDBInterface $db)
Glossary internal repo service.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...