ILIAS  trunk Revision v11.0_alpha-1851-ga8564da6fed
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\SurveyQuestionPool;
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 
50  public function import(): ImportSessionRepository
51  {
52  return new ImportSessionRepository();
53  }
54 
55  public function editing(): EditSessionRepository
56  {
57  return new EditSessionRepository();
58  }
59 }
__construct(InternalDataService $data, \ilDBInterface $db)
Survey question pool internal data service.