ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.RepoService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\Survey\Execution;
22 
24 
30 {
31  protected \ilDBInterface $db;
33 
34  public function __construct(
35  InternalDataService $data,
36  \ilDBInterface $db
37  ) {
38  $this->db = $db;
39  $this->data = $data;
40  }
41 
42  public function runSession(): RunSessionRepo
43  {
44  return new RunSessionRepo();
45  }
46 
47  public function run(): RunDBRepository
48  {
49  return new RunDBRepository(
50  $this->data,
51  $this->db
52  );
53  }
54 }
__construct(InternalDataService $data, \ilDBInterface $db)
Stores access codes of anonymous session.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...