ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
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\MediaObjects;
22 
25 
31 {
33  protected \ilDBInterface $db;
34 
35  public function __construct(InternalDataService $data, \ilDBInterface $db)
36  {
37  $this->data = $data;
38  $this->db = $db;
39  }
40 
41  /*
42  public function ...() : ...\RepoService
43  {
44  return new ...\RepoService(
45  $this->data,
46  $this->db
47  );
48  }*/
49 
51  {
52  return new ImageMapEditSessionRepository();
53  }
54 
55  public function usage(): UsageDBRepository
56  {
57  return new UsageDBRepository($this->db);
58  }
59 }
__construct(InternalDataService $data, \ilDBInterface $db)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...